Merge pull request #24239 from solution-libre/fix-line-edition-in-supplier-order

Fix line edition in supplier order
This commit is contained in:
Laurent Destailleur 2023-03-17 17:58:16 +01:00 committed by GitHub
commit a0e48653df
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) {