From: cajus Date: Fri, 27 Jun 2008 07:08:25 +0000 (+0000) Subject: Fixed direct download of fai hooks X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9b77461d027e0bf6f622500642228b45ebc54336;p=gosa.git Fixed direct download of fai hooks git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11461 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/fai/admin/fai/class_faiHook.inc b/gosa-plugins/fai/admin/fai/class_faiHook.inc index 6b8aceb18..eb9d837fe 100644 --- a/gosa-plugins/fai/admin/fai/class_faiHook.inc +++ b/gosa-plugins/fai/admin/fai/class_faiHook.inc @@ -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"); } }