Merge branch 'ent-7324-notificaciones-no-llegan-en-v754' into 'develop'

Fixed notifications when not fully configured

See merge request artica/pandorafms!4042
This commit is contained in:
Daniel Rodriguez 2021-04-27 11:42:32 +00:00
commit bf70c342ff
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
);
}