aboutsummaryrefslogtreecommitdiff
path: root/mod/search/start.php
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-11-04 22:40:06 -0400
committercash <cash.costello@gmail.com>2011-11-04 22:40:06 -0400
commit54773892f88f53231b85d08d86d11557121d9609 (patch)
treefcc3738cf8104caf4d65ca261a973458363d19f8 /mod/search/start.php
parent61a7e2e9e138ec166227794e2de96bdd8a268957 (diff)
downloadelgg-54773892f88f53231b85d08d86d11557121d9609.tar.gz
elgg-54773892f88f53231b85d08d86d11557121d9609.tar.bz2
Fixes #4059 page handlers all return nothing
Diffstat (limited to 'mod/search/start.php')
-rw-r--r--mod/search/start.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/mod/search/start.php b/mod/search/start.php
index 9ab14f42f..a88c6ec03 100644
--- a/mod/search/start.php
+++ b/mod/search/start.php
@@ -14,7 +14,7 @@ function search_init() {
require_once 'search_hooks.php';
// page handler for search actions and results
- elgg_register_page_handler('search','search_page_handler');
+ elgg_register_page_handler('search', 'search_page_handler');
// register some default search hooks
elgg_register_plugin_hook_handler('search', 'object', 'search_objects_hook');
@@ -55,7 +55,8 @@ function search_init() {
/**
* Page handler for search
*
- * @param array $page Page elements from pain page handler
+ * @param array $page Page elements from core page handler
+ * @return void
*/
function search_page_handler($page) {