Commit 393c21ac authored by Côme Chilliet's avatar Côme Chilliet

Merge branch...

Merge branch '5997-incorrect-error-message-when-the-mail-cannot-be-sent-by-recovery' into '1.3-fixes'

Resolve "Incorrect error message when the mail cannot be sent by recovery" in 1.3-fixes

See merge request fusiondirectory/fd!615
parents 2c3865c5 33689761
......@@ -580,7 +580,7 @@ class passwordRecovery extends standAlonePage {
if (mail_utf8($this->email_address, FALSE, $this->from_mail, $this->mail_subject, $mail_body)) {
$this->step = 3;
} else {
$this->message[] = msgPool::invalid(_("Contact your administrator, there was a problem with mail server"));
$this->message[] = _('Contact your administrator, there was a problem with mail server');
}
$smarty = get_smarty();
......@@ -657,7 +657,7 @@ class passwordRecovery extends standAlonePage {
$this->step = 5;
$smarty->assign('changed', TRUE);
} else {
$this->message[] = msgPool::invalid(_("There was a problem with mail server, confirmation email not sent"));
$this->message[] = _('There was a problem with mail server, confirmation email not sent');
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment