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 795c73eed..f7f539b21 100644
--- a/index.php
+++ b/index.php
@@ -7,7 +7,7 @@ if (isset($q)) {
$mod = arg(0);
}
-if ($mod && module_hook($mod, "page")) {
+if (isset($mod) && module_hook($mod, "page")) {
if ($mod != "admin") {
page_header();
}