Bug 0000101: problem with IE search on keywords

The ";" character is not allowed in a IE url. It has been replaced by a "+" character.


git-svn-id: http://piwigo.org/svn/trunk@773 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
gweltas
2005-04-26 11:34:38 +00:00
parent 9dc9c553d3
commit 97a3d7af5b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -399,7 +399,7 @@ function initialize_category( $calling_page = 'category' )
$search['mode'] = 'OR';
}
$search_tokens = explode(';', $tokens[0]);
$search_tokens = explode('+', $tokens[0]);
foreach ($search_tokens as $search_token)
{
$tokens = explode(':', $search_token);
+1 -1
View File
@@ -114,7 +114,7 @@ if (isset($_POST['submit']))
}
array_push($tokens, $token);
}
$search_string.= implode(';', $tokens);
$search_string.= implode('+', $tokens);
if (count($tokens) > 1)
{
$search_string.= '|AND';