From: hickert Date: Thu, 20 Oct 2005 09:16:53 +0000 (+0000) Subject: Fixed Attribute type .... error X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1a50129862adcd585795ca7b7b9db5252771d034;p=gosa.git Fixed Attribute type .... error git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1637 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/fai/class_faiScript.inc b/plugins/admin/fai/class_faiScript.inc index e2825064e..34bfe405a 100644 --- a/plugins/admin/fai/class_faiScript.inc +++ b/plugins/admin/fai/class_faiScript.inc @@ -280,7 +280,11 @@ class faiScript extends plugin $obj['status']="modify"; } } - + + if(empty($tmp['FAIpriority'])){ + $tmp['FAIpriority'] ="0"; + } + if($obj['status'] == "delete"){ $ldap->cd($sub_dn); $ldap->rmdir_recursive($sub_dn); diff --git a/plugins/admin/fai/class_faiScriptEntry.inc b/plugins/admin/fai/class_faiScriptEntry.inc index 418b462da..ec62df02b 100644 --- a/plugins/admin/fai/class_faiScriptEntry.inc +++ b/plugins/admin/fai/class_faiScriptEntry.inc @@ -16,7 +16,7 @@ class faiScriptEntry extends plugin var $dn = ""; var $cn = ""; - var $FAIpriority = ""; + var $FAIpriority = "0"; var $FAIscript = ""; var $description = ""; var $status = "new";