summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorDries Buytaert2003-03-04 06:19:38 (GMT)
committerDries Buytaert2003-03-04 06:19:38 (GMT)
commit40abf5061f100a3aa84d007d78c5f5423ea26ed7 (patch)
tree0712bfcc6aae0decc590b71712a616452b824b7b /index.php
parentf4cdeb1f5a78633b2ed7d42a5dba411fabea1b94 (diff)
- Fixed "undefined index/variable" warning. Patch by Ax.
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 42bd3dc..795c73e 100644
--- a/index.php
+++ b/index.php
@@ -3,7 +3,7 @@
include_once "includes/common.inc";
-if ($q) {
+if (isset($q)) {
$mod = arg(0);
}