diff --git a/ecrire/inc_db_mysql.php3 b/ecrire/inc_db_mysql.php3 index dbb7379d41653ca157f3cd94dae29881bc893956..a77c7b9a731a8b4c7ef7710a248faf6349199097 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 65f661abfebe29bb549c78f5298b0cb8416394c0..d57de93fc45694ffbc7b2834558ef957b916ce81 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 = ""; }