aboutsummaryrefslogtreecommitdiff
path: root/mod/thewire
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/thewire
parent54773892f88f53231b85d08d86d11557121d9609 (diff)
downloadelgg-0759c227bf7b73254cf6eb5e8502463875f2469f.tar.gz
elgg-0759c227bf7b73254cf6eb5e8502463875f2469f.tar.bz2
Fixes #4059 returning true when handling a page
Diffstat (limited to 'mod/thewire')
-rw-r--r--mod/thewire/start.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/mod/thewire/start.php b/mod/thewire/start.php
index f46d9ec75..2ed0f0b4d 100644
--- a/mod/thewire/start.php
+++ b/mod/thewire/start.php
@@ -84,7 +84,7 @@ function thewire_init() {
* thewire/tag/<tag> View wire posts tagged with <tag>
*
* @param array $page From the page_handler function
- * @return void
+ * @return bool
*/
function thewire_page_handler($page) {
@@ -134,7 +134,11 @@ function thewire_page_handler($page) {
}
include "$base_dir/previous.php";
break;
+
+ default:
+ return false;
}
+ return true;
}
/**