Code

Fixed Attribute type .... error
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 20 Oct 2005 09:16:53 +0000 (09:16 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 20 Oct 2005 09:16:53 +0000 (09:16 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1637 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/fai/class_faiScript.inc
plugins/admin/fai/class_faiScriptEntry.inc

index e2825064e8aac42a7f2b7b840857bb6833cfdb00..34bfe405a2ceb72a4d335b784a89728a365fa3a4 100644 (file)
@@ -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);
index 418b462da20543cd9c7612b2b966fbe74fcc1007..ec62df02b18b4103c31b8eefdf86e74f185bb85f 100644 (file)
@@ -16,7 +16,7 @@ class faiScriptEntry extends plugin
 
   var $dn            = "";
   var $cn            = "";
-  var $FAIpriority   = "";
+  var $FAIpriority   = "0";
   var $FAIscript     = "";
   var $description   = "";
   var $status        = "new";