From 89a0054d98a874449969d839046b49fe7ba54b5f Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 5 Dec 2007 13:31:54 +0000 Subject: [PATCH] Closes #295. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8015 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 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']; } /*********** -- 2.30.2