From e2861e566ccd8b2df74b19ec3348007e8498cefa Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 5 Dec 2007 13:32:13 +0000 Subject: [PATCH] Fixed setup. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@8016 594d385d-05f5-0310-b6e9-bd551577e9d8 --- setup/class_setupStep_Migrate.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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']; } /*********** -- 2.30.2