aboutsummaryrefslogtreecommitdiff
path: root/mod/file
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/file
parent54773892f88f53231b85d08d86d11557121d9609 (diff)
downloadelgg-0759c227bf7b73254cf6eb5e8502463875f2469f.tar.gz
elgg-0759c227bf7b73254cf6eb5e8502463875f2469f.tar.bz2
Fixes #4059 returning true when handling a page
Diffstat (limited to 'mod/file')
-rw-r--r--mod/file/start.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/mod/file/start.php b/mod/file/start.php
index bb20fc7ba..f8b7fa423 100644
--- a/mod/file/start.php
+++ b/mod/file/start.php
@@ -100,7 +100,7 @@ function file_init() {
* Title is ignored
*
* @param array $page
- * @return void
+ * @return bool
*/
function file_page_handler($page) {
@@ -138,7 +138,10 @@ function file_page_handler($page) {
case 'all':
include "$file_dir/world.php";
break;
+ default:
+ return false;
}
+ return true;
}
/**