From 11e04c7dfcddf1e9f3dd472bc39e9a6cfba2d0bb Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 11 Feb 2010 13:40:27 +0000 Subject: [PATCH] Fixed ACL Problem, when swithing between the ACL-Types git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15613 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_acl.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gosa-core/include/class_acl.inc b/gosa-core/include/class_acl.inc index df145dd2f..3e6099a7e 100644 --- a/gosa-core/include/class_acl.inc +++ b/gosa-core/include/class_acl.inc @@ -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']); } -- 2.30.2