Skip to content

Commit e7e72a7

Browse files
committed
ICL: Email helper used.
1 parent 5f280e3 commit e7e72a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Loggable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ private function getFilteredNotificationRecipients()
9494

9595
$recipients = $this->getNotificationRecipients();
9696
foreach ($recipients as $recipient) {
97-
if (!empty($recipient['address']) && filter_var($recipient['address'], FILTER_VALIDATE_EMAIL)) {
97+
if (!empty($recipient['address']) && is_email($recipient['address'])) {
9898
$result[] = $recipient;
9999
}
100100
}

0 commit comments

Comments
 (0)