Add default notification email

[MAILPOET-1522]
This commit is contained in:
Pavel Dohnal
2018-10-15 11:18:53 +02:00
parent 3102f114bd
commit d01805a911
2 changed files with 8 additions and 1 deletions

View File

@@ -68,6 +68,9 @@ class SendNewSubscriberNotification {
if(!isset($settings['address'])) {
return true;
}
if(empty(trim($settings['address']))) {
return true;
}
return !(bool)$settings['enabled'];
}