diff --git a/inc-criteres.php3 b/inc-criteres.php3 index bc0ee8693b48bd68f2d1c3e5c49ca87728b43dff..39c6376e982e4721dc5407031add69d1f3efcde1 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}