diff --git a/inc-calcul-squel.php3 b/inc-calcul-squel.php3
index b4f7bb2cc6a9adc5733c912b0fe2acce815f6c66..a9747d28c8ecc3a48349f536f999c5d678bd20ae 100644
--- a/inc-calcul-squel.php3
+++ b/inc-calcul-squel.php3
@@ -179,7 +179,7 @@ function parser_boucle($texte, $id_parent) {
 				$req_from[] = "spip_documents AS $table";
 				$req_from[] = "spip_types_documents AS types_d";
 				$req_where[] = "$table.id_type = types_d.id_type";
-				$req_group = "GROUP BY $table.id_document";
+				$req_group = " GROUP BY $table.id_document";
 				$id_objet = "id_document";
 				break;