From 9ce59f1af3895ea827e90ceb3f6a9a27ec4357fb Mon Sep 17 00:00:00 2001 From: plegall Date: Tue, 25 Mar 2014 12:53:10 +0000 Subject: merge r26825 from trunk to branch 2.5 bug 3020 and bug 3021 fixed: additionnal checks in search inputs git-svn-id: http://piwigo.org/svn/branches/2.5@27933 68402e56-0260-453c-a942-63ccdbb3a9ee --- search_rules.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'search_rules.php') diff --git a/search_rules.php b/search_rules.php index 1fe8a628d..c2db933c8 100644 --- a/search_rules.php +++ b/search_rules.php @@ -106,7 +106,7 @@ if (isset($search['fields']['author'])) 'search_words', sprintf( l10n('author(s) : %s'), - join(', ', $search['fields']['author']['words']) + join(', ', array_map('strip_tags', $search['fields']['author']['words'])) ) ); } @@ -240,4 +240,4 @@ foreach (array('date_available', 'date_creation') as $datefield) $template->pparse('search_rules'); include(PHPWG_ROOT_PATH.'include/page_tail.php'); -?> \ No newline at end of file +?> -- cgit v1.2.3