aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 9e58d2123..d6fb3959f 100644
--- a/index.php
+++ b/index.php
@@ -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']))
{