fixed log level
This commit is contained in:
parent
4f502d207a
commit
0a63e69b23
|
@ -1115,7 +1115,7 @@ function sendEMail($to, $subject, $text, $headers) {
|
||||||
$text = str_replace("\r\n", "\n", $text);
|
$text = str_replace("\r\n", "\n", $text);
|
||||||
$headers = str_replace("\r\n", "\n", $headers);
|
$headers = str_replace("\r\n", "\n", $headers);
|
||||||
}
|
}
|
||||||
logNewMessage(LOG_WARNING, $text);
|
logNewMessage(LOG_DEBUG, "Send mail to $to\n" . $text);
|
||||||
return mail($to, base64EncodeForEMail($subject), $text, $headers);
|
return mail($to, base64EncodeForEMail($subject), $text, $headers);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue