From 59ab5dec260b89871e62b0c3b8ee1853bbdb1e81 Mon Sep 17 00:00:00 2001 From: plegall Date: Thu, 20 Jan 2005 23:09:28 +0000 Subject: - bug fixed : search on accentuated characters is possible git-svn-id: http://piwigo.org/svn/trunk@715 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions_category.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)); } } -- cgit v1.2.3