Fix line edition in supplier order

This commit is contained in:
Florent Poinsaut 2023-03-16 18:16:18 +01:00 committed by GitHub
parent 066e041783
commit cb93a462c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4052,7 +4052,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) {