Commit 3e5ed8f2 authored by Benoit Mortier's avatar Benoit Mortier
Browse files

Fixes: #1166 Disallow usage of an existing FAI profile as name for a FAI class...

Fixes: #1166 Disallow usage of an existing FAI profile as name for a FAI class created by copy and paste
parent 5cbc3cdb
......@@ -963,7 +963,7 @@ class faiManagement extends management
}
$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();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment