Fixed notifications when not fully configured

This commit is contained in:
fbsanchez 2021-04-20 13:19:19 +02:00
parent d380e2cd45
commit b33104c641
1 changed files with 1 additions and 1 deletions

View File

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