summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9a20566)
raw | patch | inline | side by side (parent: 9a20566)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 9 Apr 2008 14:56:55 +0000 (14:56 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 9 Apr 2008 14:56:55 +0000 (14:56 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10304 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/fai/admin/fai/class_faiHookEntry.inc | patch | blob | history |
diff --git a/gosa-plugins/fai/admin/fai/class_faiHookEntry.inc b/gosa-plugins/fai/admin/fai/class_faiHookEntry.inc
index 433437e5be990a93b693a1a89a01d220990dc1d2..912b8605c16b37c93d412ece15b71836a56db4ce 100644 (file)
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);
}
}