aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-11-10 04:05:20 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-11-10 04:05:20 +0000
commit267ede71db08d4019ed4d58a5ed2f4816a23ffb1 (patch)
tree3e282027e0a0c5e17d37324d7ca1cf6a1297383c
parentd02497d90585a849f8ea932024ffc53758d3462e (diff)
downloadelgg-267ede71db08d4019ed4d58a5ed2f4816a23ffb1.tar.gz
elgg-267ede71db08d4019ed4d58a5ed2f4816a23ffb1.tar.bz2
I hate you search.
git-svn-id: http://code.elgg.org/elgg/trunk@3657 36083f99-b078-4883-b0ff-0f9b5a30f544
-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 806c2a0d9..ee6da32a8 100644
--- a/mod/search/index.php
+++ b/mod/search/index.php
@@ -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
)));