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:
parent
c273dcb498
commit
807e011e77
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue