From adcc036dff236db9fecb16015f3912ce8eb0f501 Mon Sep 17 00:00:00 2001
From: renato <renato@rezo.net>
Date: Tue, 15 May 2007 18:23:43 +0000
Subject: [PATCH] a parenthesis was missing, one line...two stupid bugs
 (Matthieu Marcillaud)

---
 ecrire/public/stats.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ecrire/public/stats.php b/ecrire/public/stats.php
index e9027a3827..1130221056 100644
--- a/ecrire/public/stats.php
+++ b/ecrire/public/stats.php
@@ -41,7 +41,7 @@ function public_stats_dist() {
 			url_de_base()));
 		if (!(($url_site_spip<>'')
 		AND strpos('-'.strtolower($_SERVER['HTTP_REFERER']), strtolower($url_site_spip))
-		AND strpos($_SERVER['HTTP_REFERER'],"recherche=")===false) {
+		AND strpos($_SERVER['HTTP_REFERER'],"recherche=")===false)) {
 			$log_referer = $_SERVER['HTTP_REFERER'];
 		}
 	}
-- 
GitLab