SF Bug #2859242 - Call to undefined function syslog_notice()

This commit is contained in:
Deon George 2009-09-20 10:37:14 +10:00
parent e7466c948b
commit 7121f560e9

View File

@ -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);
}