From 54009cff1aeab04d5c5d0f8d6afb0e09153d55f7 Mon Sep 17 00:00:00 2001
From: "Committo,Ergo:sum" <esj@rezo.net>
Date: Tue, 19 Jul 2005 10:23:35 +0000
Subject: [PATCH] =?UTF-8?q?l'espace=20en=20trop=20dans=20une=20valeur=20bo?=
 =?UTF-8?q?ol=C3=A9enne=20=C3=A7a=20fait=20mal?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 ecrire/inc_db_mysql.php3 | 2 +-
 inc-criteres.php3        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ecrire/inc_db_mysql.php3 b/ecrire/inc_db_mysql.php3
index dbb7379d41..a77c7b9a73 100644
--- a/ecrire/inc_db_mysql.php3
+++ b/ecrire/inc_db_mysql.php3
@@ -242,7 +242,7 @@ function calcul_mysql_in($val, $valeurs, $not='') {
 	$n = $i = 0;
 	$in_sql ="";
 	while ($n = strpos($valeurs, ',', $n+1)) {
-		if ((++$i) >= 255) {
+	  if ((++$i) >= 255) {
 			$in_sql .= "($val $not IN (" .
 			  substr($valeurs, 0, $n) .
 			  "))\n" .
diff --git a/inc-criteres.php3 b/inc-criteres.php3
index 65f661abfe..d57de93fc4 100644
--- a/inc-criteres.php3
+++ b/inc-criteres.php3
@@ -64,7 +64,7 @@ function critere_doublons_dist($idb, &$boucles, $crit) {
 	  calculer_liste($crit->param[0], array(), $boucles, $boucles[$idb]->id_parent) .
 	  ')], \'' . 
 	  ($crit->not ? '' : 'NOT') .
-	  " ') . \"";
+	  "') . \"";
 	if ($crit->not) $boucle->doublons = "";
 }
 
-- 
GitLab