]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
I hate you search.
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Tue, 10 Nov 2009 04:05:20 +0000 (04:05 +0000)
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Tue, 10 Nov 2009 04:05:20 +0000 (04:05 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@3657 36083f99-b078-4883-b0ff-0f9b5a30f544

mod/search/index.php

index 806c2a0d995244c405671b018d1078221dceff72..ee6da32a86b1a54302a0e3d3f5cb3c30c3a89e48 100644 (file)
@@ -89,10 +89,10 @@ foreach ($custom_types as $type) {
        $label = "search_types:$type";
 
        $data = htmlspecialchars(http_build_query(array(
-               'q' => urlencode($query),
+               'q' => $query,
                'entity_subtype' => $entity_subtype,
-               'entity_type' => urlencode($entity_type),
-               'owner_guid' => urlencode($owner_guid),
+               'entity_type' => $entity_type,
+               'owner_guid' => $owner_guid,
                'search_type' => $type,
                'friends' => $friends
        )));