From: hickert Date: Wed, 5 Dec 2007 13:31:54 +0000 (+0000) Subject: Closes #295. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=89a0054d98a874449969d839046b49fe7ba54b5f;p=gosa.git Closes #295. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8015 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/setup/class_setupStep_Migrate.inc b/setup/class_setupStep_Migrate.inc index 3f726cf5a..5dcd8e649 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']; } /*********** @@ -417,7 +417,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']; } /***********