summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
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 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);
}