Code

Updated ACLroles
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 26 Feb 2009 14:33:11 +0000 (14:33 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 26 Feb 2009 14:33:11 +0000 (14:33 +0000)
-Fixed ACL category listing, display info string even if there is only one attribute selected.

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13465 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/admin/acl/class_aclRole.inc

index b78c955e156c7b00831412de4567e57e50a0cf51..e78f0dfa1d604105fee21bfada69b3d9d6bd0c11 100644 (file)
@@ -424,9 +424,7 @@ class aclrole extends acl
             $summary.= "$oc, ";
             continue;
           }
-          if (isset($this->aclContents["$section/$oc"]) && count($this->aclContents["$section/$oc"]) && isset($this->aclContents["$section/$oc"][0]) &&
-              $this->aclContents["$section/$oc"][0] != ""){
-
+          if (isset($this->aclContents["$section/$oc"]) && count($this->aclContents["$section/$oc"])){
             $summary.= "$oc, ";
             continue;
           }