aboutsummaryrefslogtreecommitdiff
path: root/mod/notifications/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/notifications/start.php')
-rw-r--r--mod/notifications/start.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/mod/notifications/start.php b/mod/notifications/start.php
index 7ec82cfc9..761f17e40 100644
--- a/mod/notifications/start.php
+++ b/mod/notifications/start.php
@@ -36,7 +36,7 @@ function notifications_plugin_init() {
* Route page requests
*
* @param array $page Array of url parameters
- * @return void
+ * @return bool
*/
function notifications_page_handler($page) {
@@ -54,7 +54,10 @@ function notifications_page_handler($page) {
case 'personal':
require "$base/index.php";
break;
+ default:
+ return false;
}
+ return true;
}
/**