aboutsummaryrefslogtreecommitdiff
path: root/mod/search
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-02-16 22:13:32 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-02-16 22:13:32 +0000
commit0f22e81375a552c63e3b8d533545505a57e06099 (patch)
treeee5780f123e1247234adba2001f5f4e31a5e70a4 /mod/search
parentb0245345758482703df19c2c71e502e561c5dd9d (diff)
downloadelgg-0f22e81375a552c63e3b8d533545505a57e06099.tar.gz
elgg-0f22e81375a552c63e3b8d533545505a57e06099.tar.bz2
Fixed incorrect variable calls in search.
git-svn-id: http://code.elgg.org/elgg/trunk@3941 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/search')
-rw-r--r--mod/search/index.php6
1 files 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);