mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
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:
@@ -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
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user