From 9b77461d027e0bf6f622500642228b45ebc54336 Mon Sep 17 00:00:00 2001 From: cajus Date: Fri, 27 Jun 2008 07:08:25 +0000 Subject: [PATCH] Fixed direct download of fai hooks git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11461 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/fai/admin/fai/class_faiHook.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); } } -- 2.30.2