aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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';