From 85bb602bbcac5206a2f987e85f7651c76e8d5db0 Mon Sep 17 00:00:00 2001 From: "Committo,Ergo:sum" <esj@rezo.net> Date: Thu, 2 Jun 2005 11:00:31 +0000 Subject: [PATCH] n'importe quel lexeme pour nommer des doublons --- inc-criteres.php3 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/inc-criteres.php3 b/inc-criteres.php3 index bc0ee8693b..39c6376e98 100644 --- a/inc-criteres.php3 +++ b/inc-criteres.php3 @@ -52,10 +52,11 @@ function critere_exclus_dist($idb, &$boucles, $crit) { // http://www.spip.net/@doublons function critere_doublons_dist($idb, &$boucles, $crit) { $boucle = &$boucles[$idb]; - $boucle->doublons = $boucle->type_requete . $crit->param[0][0]->texte; + $boucle->doublons = "'" . $boucle->type_requete . "' . " . + calculer_liste($crit->param[0], array(), $boucles, $boucles[$idb]->id_parent); $boucle->where[] = '" .' . "calcul_mysql_in('".$boucle->id_table . '.' . $boucle->primary."', " - .'"0".$doublons[\''.$boucle->doublons."'], 'NOT') . \""; + .'"0".$doublons['.$boucle->doublons."], 'NOT') . \""; } // {lang_select} -- GitLab