aboutsummaryrefslogtreecommitdiff
path: root/mod/pages/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/pages/start.php')
-rw-r--r--mod/pages/start.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/mod/pages/start.php b/mod/pages/start.php
index fd1d7df47..b2f26c719 100644
--- a/mod/pages/start.php
+++ b/mod/pages/start.php
@@ -100,7 +100,7 @@ function pages_init() {
* Title is ignored
*
* @param array $page
- * @return void
+ * @return bool
*/
function pages_page_handler($page) {
@@ -152,7 +152,10 @@ function pages_page_handler($page) {
case 'all':
include "$base_dir/world.php";
break;
+ default:
+ return false;
}
+ return true;
}
/**