From 7121f560e996e3f38ea74a4c040016afd85064c4 Mon Sep 17 00:00:00 2001 From: Deon George Date: Sun, 20 Sep 2009 10:37:14 +1000 Subject: [PATCH] SF Bug #2859242 - Call to undefined function syslog_notice() --- lib/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/functions.php b/lib/functions.php index 7e3fa9d..4f1acd2 100644 --- a/lib/functions.php +++ b/lib/functions.php @@ -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); }