Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

This commit is contained in:
Laurent Destailleur 2025-12-04 20:58:00 +01:00
commit 757e01eaaa

View file

@ -1187,7 +1187,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;