diff --git a/inc-criteres.php3 b/inc-criteres.php3
index 90297af77c60bafd4aa0ca0141d67be65632260a..1630abbde5e351bf473e7e9bbdcbf5c438519b79 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)