diff options
author | plegall <plg@piwigo.org> | 2014-03-25 12:53:10 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2014-03-25 12:53:10 +0000 |
commit | 9ce59f1af3895ea827e90ceb3f6a9a27ec4357fb (patch) | |
tree | 70aaf45b8fbafcd6ce8a5172151f3d6e11d874b8 /search_rules.php | |
parent | 3e09f3ea83f4203cbb7f76fd1b9fb086073a353e (diff) |
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
Diffstat (limited to 'search_rules.php')
-rw-r--r-- | search_rules.php | 4 |
1 files changed, 2 insertions, 2 deletions
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 +?> |