diff --git a/inc-calcul-squel.php3 b/inc-calcul-squel.php3 index d1cdfdd02a3aab1927445557f360eb8e78b15ad6..d444501e39d911028011fbe63a29ccde12038e47 100644 --- a/inc-calcul-squel.php3 +++ b/inc-calcul-squel.php3 @@ -1776,7 +1776,7 @@ function calculer_boucle($id_boucle, $prefix_boucle) $texte .= ' $GLOBALS["spip_lang"] = $old_lang;'."\n"; } else { - $texte .= ' $pile_boucles[$id_instance]->compteur_boucle = $pile_boucles[$id_instance]->$total_boucle;'."\n"; + $texte .= ' $pile_boucles[$id_instance]->compteur_boucle = $pile_boucles[$id_instance]->total_boucle;'."\n"; } $texte .= $code_fin; return $texte;