From 21192be01ebd00064f5c7b8af42f5e7743c204bc Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Thu, 6 Jan 2011 09:30:19 +0100 Subject: [PATCH] Typo --- editor/include/editing.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/include/editing.inc.php b/editor/include/editing.inc.php index 45d12d40..e32a4497 100644 --- a/editor/include/editing.inc.php +++ b/editor/include/editing.inc.php @@ -16,7 +16,7 @@ function email_header($header) { * @param array * @return */ -function send_mail($email, $subject, $message, $from = "", $files = array()) { +function send_mail($email, $subject, $message, $from = "", $files = array("error" => array())) { $eol = (strncasecmp(PHP_OS, "win", 3) ? "\n" : "\r\n"); // PHP_EOL available since PHP 4.3.10 and 5.0.2 $message = str_replace("\n", $eol, wordwrap(str_replace("\r", "", "$message\n"))); $boundary = uniqid("boundary");