aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/functions_category.inc.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/functions_category.inc.php b/include/functions_category.inc.php
index d52f24d71..9c4e1ebab 100644
--- a/include/functions_category.inc.php
+++ b/include/functions_category.inc.php
@@ -410,7 +410,8 @@ function initialize_category( $calling_page = 'category' )
$tokens = explode(',', $tokens[0]);
foreach ($tokens as $token)
{
- array_push($search['fields'][$field_name]['words'], $token);
+ array_push($search['fields'][$field_name]['words'],
+ htmlentities($token));
}
}