Fixed notifications when not fully configured
This commit is contained in:
parent
d380e2cd45
commit
b33104c641
|
@ -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
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue