Code

Updated FAI classes
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 15 Oct 2008 12:59:01 +0000 (12:59 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 15 Oct 2008 12:59:01 +0000 (12:59 +0000)
-Fixed problem with sub object initalization.

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12709 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/fai/admin/fai/class_faiHookEntry.inc
gosa-plugins/fai/admin/fai/class_faiScriptEntry.inc

index d258586bc0f096d64668330c74745186ceb0bb65..09b5d8dbfb4cb528ea11ee4d4f0882e639643de8 100644 (file)
@@ -23,7 +23,7 @@ class faiHookEntry extends plugin
   
   function faiHookEntry (&$config, $dn= NULL,$object=false)
   {
-    plugin::plugin ($config, $dn);
+    plugin::plugin ($config, NULL);
     if($dn != "new"){
       $this->orig_cn= $object['cn'];
       $this->dn=$object['dn'];
index 2667a0de137aebb284d7b18aafdc7723ae9027c9..db8366b1b2fee0d83bdad0e9cf782df4db72d3b0 100644 (file)
@@ -20,7 +20,7 @@ class faiScriptEntry extends plugin
   
   function faiScriptEntry (&$config, $dn= NULL,$object=false)
   {
-    plugin::plugin ($config, $dn);
+    plugin::plugin ($config, NULL);
     if($dn != "new"){
       $this->orig_cn= $object['cn'];
       $this->dn=$object['dn'];