summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 221da2e)
raw | patch | inline | side by side (parent: 221da2e)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 10 Apr 2008 13:57:13 +0000 (13:57 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 10 Apr 2008 13:57:13 +0000 (13:57 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10332 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/functions.inc | patch | blob | history |
index 7675ff23e7d502e8c01a834a67a6a615eb9915ef..961abc56a65296dd2956d70ccedb1935c1750b08 100644 (file)
$ldap->cd($config->current['BASE']);
$ldap->search("(&(objectClass=trustAccount)(accessTo=".$from."))",array("objectClass","accessTo"));
while($attrs = $ldap->fetch()){
- $new_attrs = array();
+ $new_attrs = array("accessTo" => array());
$dn = $attrs['dn'];
for($i = 0 ; $i < $attrs['objectClass']['count']; $i++){
$new_attrs['objectClass'][] = $attrs['objectClass'][$i];