From 40abf5061f100a3aa84d007d78c5f5423ea26ed7 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 4 Mar 2003 06:19:38 +0000 Subject: - Fixed "undefined index/variable" warning. Patch by Ax. --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.php') diff --git a/index.php b/index.php index 42bd3dc66..795c73eed 100644 --- a/index.php +++ b/index.php @@ -3,7 +3,7 @@ include_once "includes/common.inc"; -if ($q) { +if (isset($q)) { $mod = arg(0); } -- cgit v1.2.3