Code

Fixed direct download of fai hooks
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 27 Jun 2008 07:08:25 +0000 (07:08 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 27 Jun 2008 07:08:25 +0000 (07:08 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11461 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/fai/admin/fai/class_faiHook.inc

index 6b8aceb183e3a960f369fbc7877b29958b7819a7..eb9d837fef25a8301bbd6cbf0c5f7967c9130974 100644 (file)
@@ -206,7 +206,7 @@ class faiHook extends plugin
       if(isset($this->SubObjects[base64_decode($_GET['getFAIHook'])])){
         $obj = $this->SubObjects[base64_decode($_GET['getFAIHook'])];
         $obj  = $this->get_object_attributes($obj,$this->sub_Load_Later);
-        send_binary_content(stripslashes($obj['FAIhook']),$obj['cn'].".FAIhook");
+        send_binary_content(stripslashes($obj['FAIscript']),$obj['cn'].".FAIhook");
       }
     }