SF Bug #2859242 - Call to undefined function syslog_notice()
This commit is contained in:
parent
e7466c948b
commit
7121f560e9
@ -563,7 +563,7 @@ function debug_log($msg,$level,$indent) {
|
||||
fwrite($debug_file,$debug_message."\n");
|
||||
}
|
||||
|
||||
if ($_SESSION[APPCONFIG]->getValue('debug','syslog'))
|
||||
if ($_SESSION[APPCONFIG]->getValue('debug','syslog') && function_exists('syslog_notice'))
|
||||
syslog_notice($debug_message);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user