aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgweltas <gweltas@piwigo.org>2005-04-26 11:34:38 +0000
committergweltas <gweltas@piwigo.org>2005-04-26 11:34:38 +0000
commit97a3d7af5b641a9e52a2668a5d1a7754b3010268 (patch)
tree06c8192c134db97210b4b85db73fbcf41109d7b2
parent9dc9c553d39e20aa110cb66124fc3e5a5ea1af33 (diff)
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
Diffstat (limited to '')
-rw-r--r--include/functions_category.inc.php2
-rw-r--r--search.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/functions_category.inc.php b/include/functions_category.inc.php
index 00a379b9f..383c0fa5d 100644
--- a/include/functions_category.inc.php
+++ b/include/functions_category.inc.php
@@ -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);
diff --git a/search.php b/search.php
index e731477ca..c4cd1d9c2 100644
--- a/search.php
+++ b/search.php
@@ -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';