Update interface_50_modNotification_Notification.class.php

This commit is contained in:
Laurent Destailleur 2025-01-07 15:59:07 +01:00 committed by GitHub
parent daa18360d7
commit fc54c837fa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -95,7 +95,7 @@ class InterfaceNotification extends DolibarrTriggers
$notify = new Notify($this->db);
$resultSend = $notify->send($action, $object);
if ($resultSend<0) {
if ($resultSend < 0) {
$this->errors=array_merge($this->errors, $notify->errors);
return $resultSend;
}