mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 12:09:20 +03:00
Bugfix: PHP log should not always be filled with notices
This commit is contained in:
parent
690656e4d1
commit
0b86c55d00
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ abstract class Log
|
|||
}
|
||||
if (($level < \LOG_WARNING && \error_reporting() & \E_ERROR)
|
||||
|| ($level == \LOG_WARNING && \error_reporting() & \E_WARNING)
|
||||
|| ($level > \LOG_WARNING && \error_reporting() & \E_ERROR)) {
|
||||
|| ($level > \LOG_WARNING && \error_reporting() & \E_NOTICE)) {
|
||||
\error_log($prefix . ' ' . static::$levels[$level] . ': ' . $msg);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue