diff options
author | plegall <plg@piwigo.org> | 2005-01-20 23:09:28 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2005-01-20 23:09:28 +0000 |
commit | 59ab5dec260b89871e62b0c3b8ee1853bbdb1e81 (patch) | |
tree | dc4cf9c6451972171cdbfae61139ce530d919a76 | |
parent | 5d7813b9b2996e9425e2df3f15d740f2aed8ab33 (diff) |
- bug fixed : search on accentuated characters is possible
git-svn-id: http://piwigo.org/svn/trunk@715 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r-- | include/functions_category.inc.php | 3 |
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)); } } |