Code

Fixed editing and used FAItask attribute
[gosa.git] / plugins / admin / fai / class_faiHookEntry.inc
index 5b36ec8601f7c9b2b7ab5cca2610f82f7cf5c55d..4b10f1befbfa758c956d08f9b823b98af1342cf4 100644 (file)
@@ -61,7 +61,7 @@ class faiHookEntry extends plugin
       }
     }
 
-    $used_tasks = $this->parent->getUsedFAItask();
+    $used_tasks = $this->parent->getUsedFAItask($this->cn);
     $tasks = $this->tasks;
     foreach($this->tasks as $id => $task){
       if(in_array($task,$used_tasks)){