FIX Notification sending was broken.
This commit is contained in:
parent
ad3b54b93a
commit
1d6e760fc8
@ -66,7 +66,7 @@ class InterfaceNotification extends DolibarrTriggers
|
|||||||
require_once DOL_DOCUMENT_ROOT .'/core/class/notify.class.php';
|
require_once DOL_DOCUMENT_ROOT .'/core/class/notify.class.php';
|
||||||
$notify = new Notify($this->db);
|
$notify = new Notify($this->db);
|
||||||
|
|
||||||
if (! in_array($notifcode, $notify->arrayofnotifsupported)) return 0;
|
if (! in_array($action, $notify->arrayofnotifsupported)) return 0;
|
||||||
|
|
||||||
dol_syslog("Trigger '".$this->name."' for action '$action' launched by ".__FILE__.". id=".$object->id);
|
dol_syslog("Trigger '".$this->name."' for action '$action' launched by ".__FILE__.". id=".$object->id);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user