Commit 35f20c4a authored by Vasily Bezruchkin's avatar Vasily Bezruchkin 💬
Browse files

Better iaMailer compatibility.

parent 2193eb6a
......@@ -86,7 +86,7 @@ if (iaView::REQUEST_JSON == $iaView->getRequestType()) {
$iaMailer->Subject = str_replace(':title', iaSanitize::tags($_POST['title']),
$iaMailer->Subject);
$error = !$iaMailer->Send();
$error = !$iaMailer->send();
$messages[] = iaLanguage::get($error ? 'unable_to_send_email' : 'mail_sent');
}
......
Supports Markdown
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