aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2014-09-30 21:07:59 +0000
committerrvelices <rv-github@modusoptimus.com>2014-09-30 21:07:59 +0000
commitc06d7bc2e589d237e51ae2e6d6d60dfa610cda84 (patch)
treedce1a694a69a3651dc4909c5352e0084e4a089c7 /index.php
parent0952635dbc63f85b67768c09468c1944d8970af9 (diff)
bug 3148: quick search fix html special chars
git-svn-id: http://piwigo.org/svn/trunk@29852 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 1f524ed17..0e4f34ea4 100644
--- a/index.php
+++ b/index.php
@@ -245,7 +245,7 @@ if ( empty($page['is_external']) or !$page['is_external'] )
}
elseif (!empty($page['qsearch_details']['unmatched_terms']))
{
- $template->assign( 'no_search_results', array_map($page['qsearch_details']['unmatched_terms'], 'htmlspecialchars'));
+ $template->assign( 'no_search_results', array_map('htmlspecialchars', $page['qsearch_details']['unmatched_terms']));
}
}