From b33104c6419c536bf218ce3671ee981ca1456f82 Mon Sep 17 00:00:00 2001 From: fbsanchez Date: Tue, 20 Apr 2021 13:19:19 +0200 Subject: [PATCH] Fixed notifications when not fully configured --- pandora_console/include/functions_notifications.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/include/functions_notifications.php b/pandora_console/include/functions_notifications.php index ef30d852f0..ba18483af0 100644 --- a/pandora_console/include/functions_notifications.php +++ b/pandora_console/include/functions_notifications.php @@ -239,7 +239,7 @@ function get_notification_source_targets(int $id_source, ?string $subtype=null) } $filter = sprintf( - ' AND ns.`subtype_blacklist` NOT LIKE "%%%s%%"', + ' AND (ns.`subtype_blacklist` IS NULL OR ns.`subtype_blacklist` NOT LIKE "%%%s%%") ', $subtype ); }