diff --git a/htdocs/core/class/notify.class.php b/htdocs/core/class/notify.class.php index 32ff4444a72..a741af3d867 100644 --- a/htdocs/core/class/notify.class.php +++ b/htdocs/core/class/notify.class.php @@ -91,7 +91,6 @@ class Notify public function __construct($db) { $this->db = $db; - $this->arrayofnotifsupported = self::$arrayofnotifsupported; } @@ -346,7 +345,7 @@ class Notify global $dolibarr_main_url_root; global $action; - if (!in_array($notifcode, $this->arrayofnotifsupported)) { + if (!in_array($notifcode, Notify::$arrayofnotifsupported)) { return 0; }