From 26f72b7fff281fefd9c2277a8ee5b9ee02df1457 Mon Sep 17 00:00:00 2001 From: stickler-ci Date: Sat, 19 Jun 2021 12:58:08 +0000 Subject: [PATCH] Fixing style errors. --- htdocs/commande/class/commande.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/commande/class/commande.class.php b/htdocs/commande/class/commande.class.php index dec941049a1..2805f4556d3 100644 --- a/htdocs/commande/class/commande.class.php +++ b/htdocs/commande/class/commande.class.php @@ -2351,10 +2351,10 @@ class Commande extends CommonOrder $staticline = clone $line; $line->oldline = $staticline; - if ($line->delete($user) > 0) { + if ($line->delete($user) > 0) { $result = $this->update_price(1); - if ($result > 0) { + if ($result > 0) { $this->db->commit(); return 1; } else {