aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2014-09-30 21:09:00 +0000
committerrvelices <rv-github@modusoptimus.com>2014-09-30 21:09:00 +0000
commitbf786b038ec6f56f12f6ed09899147705b0d8b50 (patch)
treeb9b0464158a2f57ce554d224d507d73df068ee5a /admin
parent946a1c7017564ee2b3d8b3851dd44a865af4e693 (diff)
bug 3148: merger -r29852 from trunk quick search fix html special chars
git-svn-id: http://piwigo.org/svn/branches/2.7@29853 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin')
-rw-r--r--admin/batch_manager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/batch_manager.php b/admin/batch_manager.php
index a93fffda2..bd64437c8 100644
--- a/admin/batch_manager.php
+++ b/admin/batch_manager.php
@@ -514,7 +514,7 @@ if (isset($_SESSION['bulk_manager_filter']['search']) &&
$res = get_quick_search_results_no_cache($_SESSION['bulk_manager_filter']['search']['q'], array('permissions'=>false));
if (!empty($res['items']) && !empty($res['qs']['unmatched_terms']))
{
- $template->assign('no_search_results', $res['qs']['unmatched_terms']);
+ $template->assign('no_search_results', array_map('htmlspecialchars', $res['qs']['unmatched_terms']) );
}
$filter_sets[] = $res['items'];
}