From df249e328674ebd19b26057551b094cb0d68f3f9 Mon Sep 17 00:00:00 2001 From: cajus Date: Tue, 18 Apr 2006 09:31:45 +0000 Subject: [PATCH] Added fix for missing depselect handling git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3049 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/personal/posix/class_posixAccount.inc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/plugins/personal/posix/class_posixAccount.inc b/plugins/personal/posix/class_posixAccount.inc index 64ffe8b39..390a18f8c 100644 --- a/plugins/personal/posix/class_posixAccount.inc +++ b/plugins/personal/posix/class_posixAccount.inc @@ -218,6 +218,11 @@ class posixAccount extends plugin plugin::execute(); $display= ""; + /* Department has changed? */ + if(isset($_POST['depselect'])){ + $_SESSION['CurrentMainBase']= validate($_POST['depselect']); + } + if(!$isCopyPaste){ /* Do we need to flip is_account state? */ if (isset($_POST['modify_state'])){ @@ -342,6 +347,7 @@ class posixAccount extends plugin $sysfilter['regex']= $s; } register_global("sysfilter", $sysfilter); + print_a($sysfilter); /* Get workstation list */ $exclude= ""; @@ -396,7 +402,7 @@ class posixAccount extends plugin /* Save data */ $groupfilter= get_global("groupfilter"); - foreach( array("depselect", "guser", "regex") as $type){ + foreach( array("guser", "regex") as $type){ if (isset($_POST[$type])){ $groupfilter[$type]= $_POST[$type]; } -- 2.30.2