fix confusion in syslog reporting web_php when the error was actually web_js

This commit is contained in:
Isaac Connor 2020-10-28 12:49:03 -04:00
parent df788f2810
commit b3a28b2ba2
1 changed files with 2 additions and 2 deletions

View File

@ -408,10 +408,10 @@ class Logger {
}
}
$message = $code.' ['.$string.']';
if ( $level <= $this->syslogLevel )
syslog( self::$syslogPriorities[$level], $message );
syslog(self::$syslogPriorities[$level], $message);
$message = $code.' ['.$string.']';
if ( $level <= $this->databaseLevel ) {
try {
global $dbConn;