From: hickert Date: Thu, 9 Nov 2006 08:56:08 +0000 (+0000) Subject: Fixed lock vars. They must be set after callibng plugin::execute. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=23f83650df9370d38a189983be58dfec31336661;p=gosa.git Fixed lock vars. They must be set after callibng plugin::execute. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5059 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/users/class_userManagement.inc b/plugins/admin/users/class_userManagement.inc index 9159587ac..5bb7d839b 100644 --- a/plugins/admin/users/class_userManagement.inc +++ b/plugins/admin/users/class_userManagement.inc @@ -52,8 +52,6 @@ class userManagement extends plugin /* Creat dialog object */ $this->DivListUsers = new divListUsers($this->config,$this); - /* LOCK MESSAGE Vars */ - $_SESSION['LOCK_VARS_TO_USE'] = array("/^act$/","/^id$/","/^user_edit_/","/^user_del_/"); } @@ -62,6 +60,9 @@ class userManagement extends plugin /* Call parent execute */ plugin::execute(); + /* LOCK MESSAGE Vars */ + $_SESSION['LOCK_VARS_TO_USE'] = array("/^act$/","/^id$/","/^user_edit_/","/^user_del_/"); + $smarty = get_smarty(); // Smarty instance $s_action = ""; // Contains the action to be taken $s_entry = ""; // The value for s_action