Skip to content

Commit aeab631

Browse files
committed
Fixed error: typo in function name
Mistyped the new Email::isvalidFormat() function Updates #377
1 parent 0834d7e commit aeab631

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crm/src/Application/Models/Person.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ public function sendNotification($message, $subject=null, $replyTo=null)
473473
$mail->setFrom('no-reply@'.BASE_HOST, APPLICATION_NAME);
474474

475475
foreach ($this->getNotificationEmails() as $email) {
476-
if (Email::isValidEmail($email->getEmail())) {
476+
if (Email::isValidFormat($email->getEmail())) {
477477
$mail->addAddress($email->getEmail());
478478
$mail->send();
479479
}

0 commit comments

Comments
 (0)