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 {