From 4ea9e915f0fafd23fe70c0221ea174691a25c71f Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 24 Jul 2008 11:54:42 +0000 Subject: [PATCH] Migrated to get_cfg_value git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12014 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_msg_dialog.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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')){ -- 2.30.2