diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-02-12 14:56:20 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-02-12 14:56:20 +0000 |
commit | a2c37d05458bc25168bbfc892604208ffc17384b (patch) | |
tree | e8b2360af1be307cc9259a733700e4c4e4fcf5dc /mod/search/views | |
parent | c8c1ed7b095be798f459cd75a18d0dc249068ca6 (diff) | |
download | elgg-a2c37d05458bc25168bbfc892604208ffc17384b.tar.gz elgg-a2c37d05458bc25168bbfc892604208ffc17384b.tar.bz2 |
Fixes #1512: Using a helper function for mb_parse_str() instead of wrapping it exactly.
git-svn-id: http://code.elgg.org/elgg/trunk@3934 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/search/views')
-rw-r--r-- | mod/search/views/default/search/listing.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/search/views/default/search/listing.php b/mod/search/views/default/search/listing.php index 5142e1fe5..8825b7e8d 100644 --- a/mod/search/views/default/search/listing.php +++ b/mod/search/views/default/search/listing.php @@ -15,7 +15,7 @@ if (!is_array($entities) || !count($entities)) { return FALSE; } -$query = htmlspecialchars(http_build_query( +$query = http_build_query( array( 'q' => $vars['params']['query'], 'entity_type' => $vars['params']['type'], @@ -25,7 +25,7 @@ $query = htmlspecialchars(http_build_query( 'search_type' => $vars['params']['search_type'], //@todo include vars for sorting, order, and friend-only. ) -)); +); $url = "{$vars['url']}pg/search?$query"; |