aboutsummaryrefslogtreecommitdiff
path: root/mod/invitefriends
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/invitefriends
parent54773892f88f53231b85d08d86d11557121d9609 (diff)
downloadelgg-0759c227bf7b73254cf6eb5e8502463875f2469f.tar.gz
elgg-0759c227bf7b73254cf6eb5e8502463875f2469f.tar.bz2
Fixes #4059 returning true when handling a page
Diffstat (limited to 'mod/invitefriends')
-rw-r--r--mod/invitefriends/start.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/invitefriends/start.php b/mod/invitefriends/start.php
index 61cfed96c..be853f2ce 100644
--- a/mod/invitefriends/start.php
+++ b/mod/invitefriends/start.php
@@ -27,7 +27,7 @@ function invitefriends_init() {
* Page handler function
*
* @param array $page Page URL segments
- * @return void
+ * @return bool
*/
function invitefriends_page_handler($page) {
gatekeeper();
@@ -46,4 +46,5 @@ function invitefriends_page_handler($page) {
$body = elgg_view_layout('one_sidebar', $params);
echo elgg_view_page($title, $body);
+ return true;
}