From: hickert Date: Thu, 1 Dec 2005 11:55:20 +0000 (+0000) Subject: Fixed group deletion in printGeneric dialog X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ee3130d3debcc50908a364c041df16fa9e9f9e6c;p=gosa.git Fixed group deletion in printGeneric dialog git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2180 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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']]); } }