diff options
author | cash <cash.costello@gmail.com> | 2011-11-04 23:29:54 -0400 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2011-11-04 23:29:54 -0400 |
commit | 0759c227bf7b73254cf6eb5e8502463875f2469f (patch) | |
tree | 556d4d4b1ed2f2032694fa1f1ac28e41f19663f8 /mod/notifications | |
parent | 54773892f88f53231b85d08d86d11557121d9609 (diff) | |
download | elgg-0759c227bf7b73254cf6eb5e8502463875f2469f.tar.gz elgg-0759c227bf7b73254cf6eb5e8502463875f2469f.tar.bz2 |
Fixes #4059 returning true when handling a page
Diffstat (limited to 'mod/notifications')
-rw-r--r-- | mod/notifications/start.php | 5 |
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; } /** |