Fix line edition in supplier order

This commit is contained in:
Florent Poinsaut 2023-03-16 18:16:18 +01:00 committed by Laurent Destailleur
parent e394ee0144
commit 17807ea00c

View File

@ -3931,7 +3931,7 @@ class CommandeFournisseurLigne extends CommonOrderLine
dol_syslog(get_class($this)."::updateline", LOG_DEBUG);
$result = $this->db->query($sql);
if ($result > 0) {
if ($result) {
if (!$error) {
$result = $this->insertExtraFields();
if ($result < 0) {