Code

fixed property
[gosa.git] / gosa-core / include / class_msg_dialog.inc
index 4f765a5b58fad8eb42cdec984b98a177b6167d74..99399453b63c34e1844ff03497fdc76e97caaa17 100644 (file)
@@ -66,7 +66,7 @@ class msg_dialog
                        /* Append trace information, only if error messages are enabled */
                        if(     isset($config) && 
                                is_object($config) && 
-                               $config->get_cfg_value("displayerrors") == "true" ){
+                               $config->get_cfg_value("displayErrors") == "true" ){
                                $this->a_Trace   = debug_backtrace();
                        }
                        if(!session::is_set('msg_dialogs')){
@@ -135,7 +135,7 @@ class msg_dialog
                        $smarty->assign("s_Title",$this->s_Title);
                        $smarty->assign("i_ID",$this->i_ID);
                        $smarty->assign("frame",false);
-                       $smarty->assign("JS",session::get('js'));
+                       $smarty->assign("JS",session::global_get('js'));
                        $smarty->assign("IE",preg_match("/MSIE/", $_SERVER['HTTP_USER_AGENT']));
                        return($smarty->fetch(get_template_path('msg_dialog.tpl')));
                }
@@ -170,7 +170,7 @@ class msg_dialog
                        $smarty->assign("IE",preg_match("/MSIE/", $_SERVER['HTTP_USER_AGENT']));
                        $return = $smarty->fetch(get_template_path('msg_dialog.tpl'));
 
-                       if(!session::get('js')){
+                       if(!session::global_get('js')){
                                $dialog = array_pop(session::get('msg_dialogs'));
                                $return.= $dialog->execute();
                        }else{