From 2ff565106b76b73a48638f55afc6c13d6e4c5026 Mon Sep 17 00:00:00 2001 From: gaxweb Date: Mon, 7 Apr 2025 14:21:10 +0200 Subject: [PATCH] With remoteConfig disabled, no notices were being sent anymore Fixes #120 --- src/Notifier.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Notifier.php b/src/Notifier.php index a6b1c58..108cee6 100644 --- a/src/Notifier.php +++ b/src/Notifier.php @@ -316,7 +316,7 @@ public function sendNotice($notice) return $notice; } - if (!$this->errorNotifications()) { + if ($this->opt['remoteConfig'] === true && !$this->errorNotifications()) { $notice['error'] = ERR_NOTIFICATIONS_DISABLED; return $notice; }