From 2a6056e25da8d84ac7e11d1ddda78a3cc06a8f16 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 21 May 2008 06:46:49 +0000 Subject: [PATCH] Fixed group-application menu copy if a new release is created. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10974 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/fai/admin/fai/class_FAI.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-plugins/fai/admin/fai/class_FAI.inc b/gosa-plugins/fai/admin/fai/class_FAI.inc index b4369317d..f935bd4c9 100644 --- a/gosa-plugins/fai/admin/fai/class_FAI.inc +++ b/gosa-plugins/fai/admin/fai/class_FAI.inc @@ -946,7 +946,7 @@ class FAI $to_copy = array(); foreach($source_dns as $dn => $attrs){ $ldap->cd($dn); - $ldap->ls("(objectClass=gotoSubmenuEntry)(objectClass=gotoMenuEntry)",$dn,array("dn")); + $ldap->ls("(|(objectClass=gotoSubmenuEntry)(objectClass=gotoMenuEntry))",$dn,array("dn")); while($attrs = $ldap->fetch()){ $destination = preg_replace("/".normalizePreg($dn)."$/","ou=".$destination_name.",".$dn,$attrs['dn']); $to_copy[$attrs['dn']] = $destination; -- 2.30.2