From: cajus Date: Thu, 24 Jul 2008 11:54:42 +0000 (+0000) Subject: Migrated to get_cfg_value X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4ea9e915f0fafd23fe70c0221ea174691a25c71f;p=gosa.git Migrated to get_cfg_value git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12014 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_msg_dialog.inc b/gosa-core/include/class_msg_dialog.inc index e6de1acf1..4f765a5b5 100644 --- a/gosa-core/include/class_msg_dialog.inc +++ b/gosa-core/include/class_msg_dialog.inc @@ -66,8 +66,7 @@ class msg_dialog /* Append trace information, only if error messages are enabled */ if( isset($config) && is_object($config) && - isset($config->data['MAIN']['DISPLAYERRORS']) && - preg_match("/^true$/i",$config->data['MAIN']['DISPLAYERRORS'])){ + $config->get_cfg_value("displayerrors") == "true" ){ $this->a_Trace = debug_backtrace(); } if(!session::is_set('msg_dialogs')){