diff --git a/htdocs/core/triggers/interface_50_modBlockedlog_ActionsBlockedLog.class.php b/htdocs/core/triggers/interface_50_modBlockedlog_ActionsBlockedLog.class.php index 3105788ba10..5872a075dad 100644 --- a/htdocs/core/triggers/interface_50_modBlockedlog_ActionsBlockedLog.class.php +++ b/htdocs/core/triggers/interface_50_modBlockedlog_ActionsBlockedLog.class.php @@ -105,6 +105,7 @@ class InterfaceActionsBlockedLog extends DolibarrTriggers } + /** @var Facture|Don|Paiement|PaymentDonation|Subscription|PaymentVarious|CashControl $object */ if ($action === 'BILL_UNVALIDATE') { if ($object->isEditable() <= 0) { $this->errors[] = 'Modifying this invoice is not allowed'; @@ -112,8 +113,6 @@ class InterfaceActionsBlockedLog extends DolibarrTriggers } } - - /** @var Facture|Don|Paiement|PaymentDonation|Subscription|PaymentVarious|CashControl $object */ dol_syslog("Trigger '".$this->name."' for action '".$action."' launched by ".__FILE__.". id=".$object->id); require_once DOL_DOCUMENT_ROOT.'/blockedlog/class/blockedlog.class.php';