From 24b5e47233a122b709522f9684b4ea110dfc7d07 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 10 Apr 2008 13:57:13 +0000 Subject: [PATCH] Updated update_accessTo function git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10332 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/functions.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-core/include/functions.inc b/gosa-core/include/functions.inc index 7675ff23e..961abc56a 100644 --- a/gosa-core/include/functions.inc +++ b/gosa-core/include/functions.inc @@ -2696,7 +2696,7 @@ function update_accessTo($from,$to) $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]; -- 2.30.2