fix CI in interface_50_modBlockedlog_ActionsBlockedLog.class.php
This commit is contained in:
parent
6e38c8433c
commit
25eff32fae
1 changed files with 1 additions and 2 deletions
|
|
@ -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';
|
||||
|
|
|
|||
Loading…
Reference in a new issue