mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-05 17:18:13 +01:00
Merge pull request #6391 from ParisLiakos/develop
Wrong trigger when setting supplier invoice back to draft
This commit is contained in:
@@ -1260,7 +1260,7 @@ class FactureFournisseur extends CommonInvoice
|
||||
if (! $error && empty($notrigger))
|
||||
{
|
||||
// Call trigger
|
||||
$result=$this->call_trigger('BILL_SUPPLIER_VALIDATE',$user);
|
||||
$result=$this->call_trigger('BILL_SUPPLIER_UNVALIDATE',$user);
|
||||
if ($result < 0) $error++;
|
||||
// End call triggers
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user