aboutsummaryrefslogtreecommitdiff
path: root/mod/messages/start.php
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-11-04 23:29:54 -0400
committercash <cash.costello@gmail.com>2011-11-04 23:29:54 -0400
commit0759c227bf7b73254cf6eb5e8502463875f2469f (patch)
tree556d4d4b1ed2f2032694fa1f1ac28e41f19663f8 /mod/messages/start.php
parent54773892f88f53231b85d08d86d11557121d9609 (diff)
downloadelgg-0759c227bf7b73254cf6eb5e8502463875f2469f.tar.gz
elgg-0759c227bf7b73254cf6eb5e8502463875f2469f.tar.bz2
Fixes #4059 returning true when handling a page
Diffstat (limited to 'mod/messages/start.php')
-rw-r--r--mod/messages/start.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/mod/messages/start.php b/mod/messages/start.php
index 631a5f731..e4ef4d43a 100644
--- a/mod/messages/start.php
+++ b/mod/messages/start.php
@@ -70,7 +70,7 @@ function messages_init() {
* Messages page handler
*
* @param array $page Array of URL components for routing
- * @return void
+ * @return bool
*/
function messages_page_handler($page) {
@@ -112,7 +112,10 @@ function messages_page_handler($page) {
case 'add':
include("$base_dir/send.php");
break;
+ default:
+ return false;
}
+ return true;
}
/**