diff options
author | rvelices <rv-github@modusoptimus.com> | 2014-04-08 20:45:48 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2014-04-08 20:45:48 +0000 |
commit | 3ab9ee5b470bfb488829207df88e5a3595d4f320 (patch) | |
tree | 8e4cf63f528ebc810a735ce6f14c3a4e029f1f92 /index.php | |
parent | ae58b3d7a1e83814f0f7d415742186deb792b36b (diff) |
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
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 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'])) { |