From 489b1a402980efa85d2cf66166c1ce01b44a7fb1 Mon Sep 17 00:00:00 2001 From: Fil <fil@rezo.net> Date: Fri, 1 Oct 2004 19:57:34 +0000 Subject: [PATCH] =?UTF-8?q?une=20lubie=20qui=20cr=C3=A9ee=20des=20requetes?= =?UTF-8?q?=20vides=20pour=20rien=20(=3F=3F)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- inc-criteres.php3 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc-criteres.php3 b/inc-criteres.php3 index 90297af77c..1630abbde5 100644 --- a/inc-criteres.php3 +++ b/inc-criteres.php3 @@ -83,7 +83,7 @@ function critere_recherche_dist($idb, &$boucles, $param, $not) { $boucle->from[] = "index_".$boucle->id_table." AS rec"; $boucle->select[] = 'SUM(rec.points + 100*(" .' . 'calcul_mysql_in("rec.hash", - calcul_branche($hash_recherche_strict),"") . ")) + $hash_recherche_strict,"") . ")) AS points'; // horrible hack du aux id_forum = spip_forum et id_article=spip_articleS @@ -100,7 +100,7 @@ function critere_recherche_dist($idb, &$boucles, $param, $not) { // et la recherche trouve $boucle->where[] = '" .' . 'calcul_mysql_in("rec.hash", - calcul_branche($hash_recherche),"") . "'; + $hash_recherche,"") . "'; // oui cette boucle est une boucle recherche, le noter dans la pile // (certes, c'est un peu lourd comme ecriture) -- GitLab