summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorDries Buytaert2003-04-21 14:55:03 (GMT)
committerDries Buytaert2003-04-21 14:55:03 (GMT)
commita956de78b9681f55cfc81785306031aa6e3ac9c1 (patch)
treefeae400f1ae2191fb3253f527be4cc2d01728a62 /index.php
parent716e833a6e103585d1d1478b6a4ee47a1e8bbbef (diff)
- Fixed some PHP "notices".
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 795c73e..f7f539b 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();
}