summaryrefslogtreecommitdiff
path: root/lib/mail.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mail.php')
-rw-r--r--lib/mail.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mail.php b/lib/mail.php
index f01f88e01..f852f385a 100644
--- a/lib/mail.php
+++ b/lib/mail.php
@@ -42,7 +42,7 @@ function mail_send($recipients, $headers, $body) {
assert($backend); # throws an error if it's bad
$sent = $backend->send($recipients, $headers, $body);
if (PEAR::isError($sent)) {
- common_log(LOG_ERROR, 'Email error: ' . $sent->getMessage());
+ common_log(LOG_ERR, 'Email error: ' . $sent->getMessage());
return false;
}
return true;