Code

Fixed ACL Problem, when swithing between the ACL-Types
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 11 Feb 2010 13:40:27 +0000 (13:40 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 11 Feb 2010 13:40:27 +0000 (13:40 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15613 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_acl.inc

index df145dd2fc84eacd682548cd4f33583fc4ea42d6..3e6099a7e9c16e9041daa9bf7067b6581ab11901 100644 (file)
@@ -349,7 +349,8 @@ class acl extends plugin
         }
       }
 
-      if(isset($_POST['selected_role'])){
+      // Remember the selected ACL role.
+      if(isset($_POST['selected_role']) && $_POST['aclType'] == 'role'){
         $this->aclContents = "";
         $this->aclContents = base64_decode($_POST['selected_role']);
       }