mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
Merge pull request #36511 from lelex86/lelex86-patch-1
FIX: use suspended status in FactureFournisseurRec::updateline()
This commit is contained in:
@@ -1186,7 +1186,7 @@ class FactureFournisseurRec extends CommonInvoice
|
||||
return -1;
|
||||
}
|
||||
|
||||
if ($this->status == self::STATUS_SUSPENDED) {
|
||||
if ($this->suspended == self::STATUS_SUSPENDED) {
|
||||
// Clean parameters
|
||||
$fk_product = empty($fk_product) ? 0 : $fk_product;
|
||||
$label = empty($label) ? '' : $label;
|
||||
|
||||
Reference in New Issue
Block a user