From 11b19c849471c65c94d35de97c9dcbcd7566406e Mon Sep 17 00:00:00 2001 From: cajus Date: Wed, 9 Apr 2008 14:56:55 +0000 Subject: [PATCH] Fixed hook upload git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10304 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/fai/admin/fai/class_faiHookEntry.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-plugins/fai/admin/fai/class_faiHookEntry.inc b/gosa-plugins/fai/admin/fai/class_faiHookEntry.inc index 433437e5b..912b8605c 100644 --- a/gosa-plugins/fai/admin/fai/class_faiHookEntry.inc +++ b/gosa-plugins/fai/admin/fai/class_faiHookEntry.inc @@ -70,7 +70,7 @@ class faiHookEntry extends plugin msg_dialog::display(_("Error"), _("Uploaded file is empty!"), ERROR_DIALOG); }else{ $str = utf8_encode(file_get_contents($_FILES['ImportFile']['tmp_name'])); - $this->FAIscript = $str; + $this->FAIscript = addslashes ($str); } } -- 2.30.2