mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-01 20:04:51 +02:00
bug 3148: quick search fix html special chars
git-svn-id: http://piwigo.org/svn/trunk@29852 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -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']));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user