diff --git a/htdocs/core/boxes/box_commandes.php b/htdocs/core/boxes/box_commandes.php index 7aadb7c1c72..9327ac06c40 100644 --- a/htdocs/core/boxes/box_commandes.php +++ b/htdocs/core/boxes/box_commandes.php @@ -121,7 +121,7 @@ class box_commandes extends ModeleBoxes $result = $this->db->query($sql); if ($result) { $num = $this->db->num_rows($result); - $num=0; + $line = 0; while ($line < $num) {