From 0f22e81375a552c63e3b8d533545505a57e06099 Mon Sep 17 00:00:00 2001 From: brettp Date: Tue, 16 Feb 2010 22:13:32 +0000 Subject: Fixed incorrect variable calls in search. git-svn-id: http://code.elgg.org/elgg/trunk@3941 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/search/index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mod/search/index.php b/mod/search/index.php index bbdad89e6..2f10d5a21 100644 --- a/mod/search/index.php +++ b/mod/search/index.php @@ -65,11 +65,11 @@ $custom_types = trigger_plugin_hook('search_types', 'get_types', $params, array( // @todo should these maintain any existing type / subtype filters or reset? $data = htmlspecialchars(http_build_query(array( 'q' => $query, - 'entity_subtype' => $subtype, - 'entity_type' => $type, + 'entity_subtype' => $entity_subtype, + 'entity_type' => $entity_type, 'owner_guid' => $owner_guid, 'search_type' => 'all', - 'friends' => $friends + //'friends' => $friends ))); $url = "{$CONFIG->wwwroot}pg/search/?$data"; add_submenu_item(elgg_echo('all'), $url); -- cgit v1.2.3