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 ); }