diff --git a/ecrire/public/boucles.php b/ecrire/public/boucles.php
index 27ee7f9c375504f54ac2b116b31f51b155812830..c50bcf37cee8eb1b6e741b2afb61151469f9865a 100644
--- a/ecrire/public/boucles.php
+++ b/ecrire/public/boucles.php
@@ -255,11 +255,12 @@ function boucle_SYNDIC_ARTICLES_dist($id_boucle, &$boucles) {
 		if (!$jointure) {
 			$jointure = 'J' . count($boucle->from);
 			$boucle->from[$jointure] = 'spip_syndic';
+			$boucle->where[]= $id_table .'.id_syndic=' . $jointure . '.id_syndic';
 		}
 		$boucle->where[] = $id_table . ".statut='publie'";
 		$boucle->where[] = $jointure . ".statut='publie'";
-	}
 
+	}
 	return calculer_boucle($id_boucle, $boucles);
 }