mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 00:34:46 +02:00
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…
x
Reference in New Issue
Block a user