From: hickert Date: Wed, 5 Dec 2007 13:32:13 +0000 (+0000) Subject: Fixed setup. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e2861e566ccd8b2df74b19ec3348007e8498cefa;p=gosa.git Fixed setup. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@8016 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/setup/class_setupStep_Migrate.inc b/setup/class_setupStep_Migrate.inc index 059547150..3fbf17ab8 100644 --- a/setup/class_setupStep_Migrate.inc +++ b/setup/class_setupStep_Migrate.inc @@ -350,7 +350,7 @@ class Step_Migrate extends setup_step $valid_deps['/'] = $cv['base']; $ldap->search("(&(objectClass=gosaDepartment)(ou=*))",array("dn","ou")); while($attrs = $ldap->fetch()){ - $valid_deps[$attrs['ou'][0]] = $attrs['dn']; + $valid_deps[] = $attrs['dn']; } /*********** @@ -418,7 +418,7 @@ class Step_Migrate extends setup_step $valid_deps['/'] = $cv['base']; $ldap->search("(&(objectClass=gosaDepartment)(ou=*))",array("dn","ou")); while($attrs = $ldap->fetch()){ - $valid_deps[$attrs['ou'][0]] = $attrs['dn']; + $valid_deps[] = $attrs['dn']; } /***********