bug 3056: quick search - fix warning; better management of variants and short words
git-svn-id: http://piwigo.org/svn/trunk@28128 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
ae58b3d7a1
commit
3ab9ee5b47
2 changed files with 51 additions and 43 deletions
|
|
@ -246,7 +246,7 @@ if ( empty($page['is_external']) or !$page['is_external'] )
|
|||
|
||||
if (empty($page['items']))
|
||||
{
|
||||
$template->append( 'no_search_results', $page['qsearch_details']['q']);
|
||||
$template->append( 'no_search_results', htmlspecialchars($page['qsearch_details']['q']));
|
||||
}
|
||||
elseif (!empty($page['qsearch_details']['unmatched_terms']))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue