From: hickert Date: Tue, 11 May 2010 07:41:48 +0000 (+0000) Subject: removed defaults from get_cfg_value and added some missing properties. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ee0244e55e3752a09476218a118493841d064702;p=gosa.git removed defaults from get_cfg_value and added some missing properties. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18323 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_log.inc b/gosa-core/include/class_log.inc index da5ca3d85..342135cab 100644 --- a/gosa-core/include/class_log.inc +++ b/gosa-core/include/class_log.inc @@ -87,7 +87,7 @@ class log { msg_dialog::display(_("Internal error"), sprintf(_("Logging failed: %s"), $msg), ERROR_DIALOG); } }else{ - if(is_object($config) && preg_match("/true/i",$config->get_cfg_value("core","logging",""))){ + if(is_object($config) && $config->boolValueIsTrue("core","logging")){ $this->log_into_syslog($entry); } }