From c06d7bc2e589d237e51ae2e6d6d60dfa610cda84 Mon Sep 17 00:00:00 2001 From: rvelices Date: Tue, 30 Sep 2014 21:07:59 +0000 Subject: bug 3148: quick search fix html special chars git-svn-id: http://piwigo.org/svn/trunk@29852 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/batch_manager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'admin/batch_manager.php') 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']; } -- cgit v1.2.3