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 <eldy@destailleur.fr>
This commit is contained in:
Arthur Lenoble 2025-07-23 16:18:55 +02:00 committed by GitHub
parent c273dcb498
commit 807e011e77
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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) {