next page with special char didn't work, added rawurldecode on keys

Signed-off-by: bachy <git@g-u-i.net>
This commit is contained in:
bachy 2013-01-11 14:47:28 +01:00
parent bcf209570a
commit a6f0f199b5

View File

@ -10,7 +10,7 @@ function materio_search_api_ajax_search($page = 0){
# execute search
$_GET['page'] = $page;
$keys = $_GET['keys'];
$keys = rawurldecode($_GET['keys']);
foreach(explode(' ', $keys) as $word){
$words[] = rawurlencode($word);