From: wolffc Date: Fri, 30 Jan 2009 16:16:12 +0000 (+0000) Subject: the existence check needs to include FAIprofile. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=06b34dfdcd992058440ad6867663ffe8f0a308c4;p=gosa.git the existence check needs to include FAIprofile. previously, the fact that it failed to find FAIprofiles of the same name, resulted in the possibility to overwrite profiles by copy&paste in one place. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13374 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/fai/admin/fai/class_faiManagement.inc b/gosa-plugins/fai/admin/fai/class_faiManagement.inc index fa9f1de24..f4f31d811 100644 --- a/gosa-plugins/fai/admin/fai/class_faiManagement.inc +++ b/gosa-plugins/fai/admin/fai/class_faiManagement.inc @@ -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.")"; }