]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixed incorrect variable calls in search.
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Tue, 16 Feb 2010 22:13:32 +0000 (22:13 +0000)
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Tue, 16 Feb 2010 22:13:32 +0000 (22:13 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@3941 36083f99-b078-4883-b0ff-0f9b5a30f544

mod/search/index.php

index bbdad89e686f698df92203f00668ac83e1f7be8b..2f10d5a21b9ab3a1b35628fc28e7dbddb200e5a7 100644 (file)
@@ -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);