aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/search.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/search.php')
-rw-r--r--phpBB/search.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/search.php b/phpBB/search.php
index a9c098adc7..d9a1a7457b 100644
--- a/phpBB/search.php
+++ b/phpBB/search.php
@@ -1002,7 +1002,7 @@ $result = $db->sql_query_limit($sql, 5);
while ($row = $db->sql_fetchrow($result))
{
- $keywords = htmlspecialchars($row['search_keywords']);
+ $keywords = htmlspecialchars($row['search_keywords'], ENT_COMPAT, 'UTF-8');
$template->assign_block_vars('recentsearch', array(
'KEYWORDS' => $keywords,