From 807e011e7741247fe82bb32b312ea68f61cff1c2 Mon Sep 17 00:00:00 2001 From: Arthur Lenoble <71173990+ArthurDLTR@users.noreply.github.com> Date: Wed, 23 Jul 2025 16:18:55 +0200 Subject: [PATCH] FIX : No order displayed in orders box (#34789) * FIX : No element displayed in the order box Removing the attribution to 0 for $num which caused to never display any order * Update box_commandes.php --------- Co-authored-by: Laurent Destailleur --- htdocs/core/boxes/box_commandes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {