Code

the existence check needs to include FAIprofile.
[gosa.git] / gosa-plugins / fai / admin / fai / class_faiManagement.inc
index fa9f1de2431d8a6ed050397176d0bae5dbb47c68..f4f31d81155acf3cf793c6c20e034da718b414f3 100644 (file)
@@ -1396,7 +1396,7 @@ class faiManagement extends plugin
 
     if($oc == "FAIprofile"){
       $f = "";
-      $ocs = array("FAItemplate","FAIhook","FAIpartitionTable","FAIpackageList","FAIscript","FAIvariable");
+      $ocs = array("FAIprofile","FAItemplate","FAIhook","FAIpartitionTable","FAIpackageList","FAIscript","FAIvariable");
       foreach($ocs as $oc){
         $f .= "(objectClass=".$oc.")";
       }