From ee3130d3debcc50908a364c041df16fa9e9f9e6c Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 1 Dec 2005 11:55:20 +0000 Subject: [PATCH] Fixed group deletion in printGeneric dialog git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2180 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_printGeneric.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/admin/systems/class_printGeneric.inc b/plugins/admin/systems/class_printGeneric.inc index cdac388b0..a8843d920 100644 --- a/plugins/admin/systems/class_printGeneric.inc +++ b/plugins/admin/systems/class_printGeneric.inc @@ -294,6 +294,8 @@ class printgeneric extends plugin $this->dialog=NULL; } + + if((isset($_POST['DelUser']))&&(isset($_POST['UserMember']))){ if(isset($this->member['AddUser'][$_POST['UserMember']])){ unset($this->member['AddUser'][$_POST['UserMember']]); @@ -313,7 +315,7 @@ class printgeneric extends plugin } if((isset($_POST['DelAdmin']))&&(isset($_POST['AdminMember']))){ - if(isset($this->member['AddAdmingroup'][$_POST['AdminMember']])){ + if(isset($this->member['AddAdminGroup'][$_POST['AdminMember']])){ unset($this->member['AddAdminGroup'][$_POST['AdminMember']]); } } -- 2.30.2