From e0757ac0ba87f7f5ac2ea5c059d358417561acf8 Mon Sep 17 00:00:00 2001
From: Fil <fil@rezo.net>
Date: Wed, 27 Apr 2005 19:27:47 +0000
Subject: [PATCH] bug de rendu des referers avec des entites &#123; (gandalf)

---
 ecrire/inc_statistiques.php3 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ecrire/inc_statistiques.php3 b/ecrire/inc_statistiques.php3
index 846fbfdf3e..65e3385fb7 100644
--- a/ecrire/inc_statistiques.php3
+++ b/ecrire/inc_statistiques.php3
@@ -134,7 +134,7 @@ function stats_show_keywords($kw_referer, $kw_referer_host) {
 	if ($keywords != '')
 	{
 		if (strlen($keywords) > 50) $keywords = substr($keywords, 0, 48);
-		$buffer["keywords"] = trim(htmlspecialchars(stripslashes($keywords)));
+		$buffer["keywords"] = trim(entites_html(stripslashes($keywords)));
 	}
 
 	return $buffer;
-- 
GitLab