From 3eab4a67911b9fcb88470a66ddd016afddf09682 Mon Sep 17 00:00:00 2001 From: psc Date: Tue, 7 Sep 2010 08:40:57 +0000 Subject: [PATCH] Apply patch for #4486 Disallow usage of an existing FAI profile as name for a FAI class created by copy and paste git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@19541 594d385d-05f5-0310-b6e9-bd551577e9d8 --- trunk/gosa-plugins/fai/admin/fai/class_faiManagement.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/gosa-plugins/fai/admin/fai/class_faiManagement.inc b/trunk/gosa-plugins/fai/admin/fai/class_faiManagement.inc index c0114568a..31c3aec89 100644 --- a/trunk/gosa-plugins/fai/admin/fai/class_faiManagement.inc +++ b/trunk/gosa-plugins/fai/admin/fai/class_faiManagement.inc @@ -1415,7 +1415,7 @@ class faiManagement extends plugin } $res = FAI::get_all_objects_for_given_base($base,"(|".$f.")",TRUE); }else{ - $res = FAI::get_all_objects_for_given_base($base,"(objectClass=".$oc.")",TRUE); + $res = FAI::get_all_objects_for_given_base($base,"(|(objectClass=FAIprofile)(objectClass=".$oc."))",TRUE); } $delete = array(); $used = array(); -- 2.30.2