summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b9bbe13)
raw | patch | inline | side by side (parent: b9bbe13)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 24 Apr 2007 07:28:23 +0000 (07:28 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 24 Apr 2007 07:28:23 +0000 (07:28 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6179 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_userinfo.inc | patch | blob | history |
index 8268e57b57eb80f9d58a2f5cc330be58fa7c77ff..b409af88be28968ba291ba24e40523ca7aa5655b 100644 (file)
$ldap->cat($aclc_value['acl'],array("gosaAclTemplate"));
$attrs = $ldap->fetch();
- for($i= 0; $i<$attrs['gosaAclTemplate']['count']; $i++){
- $tmp = @acl::explodeAcl($attrs['gosaAclTemplate'][$i]);
- foreach($tmp as $new_acl){
- $new_acl['members'] = $aclc_value['members'];
- $aclc[$dn][] =$new_acl;
- }
- }
+ if(isset($attrs['gosaAclTemplate'])){
+ for($i= 0; $i<$attrs['gosaAclTemplate']['count']; $i++){
+ $tmp = @acl::explodeAcl($attrs['gosaAclTemplate'][$i]);
+
+ foreach($tmp as $new_acl){
+ $new_acl['members'] = $aclc_value['members'];
+ $aclc[$dn][] =$new_acl;
+ }
+ }
+ }
}
}
}