From 9a633cab48c44bdbc47b09478e93f6c1892ef937 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 16 Feb 2015 08:30:50 +0000 Subject: [PATCH] fix PHP Fatal error: Cannot pass parameter 3 by reference --- mail/inc/class.mail_ui.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mail/inc/class.mail_ui.inc.php b/mail/inc/class.mail_ui.inc.php index 44a9d308be..03ef6d2601 100644 --- a/mail/inc/class.mail_ui.inc.php +++ b/mail/inc/class.mail_ui.inc.php @@ -2553,12 +2553,12 @@ class mail_ui if (!$display) { $subject = str_replace('$$','__',mail_bo::decode_header($headers['SUBJECT'])); - html::safe_content_header($message, $subject.".eml", 'message/rfc822', $size=0, true, true); + html::safe_content_header($message, $subject.".eml", $mime='message/rfc822', $size=0, true, true); echo $message; } else { - html::safe_content_header($message, $subject.".eml", 'text/html', $size=0, true, false); + html::safe_content_header($message, $subject.".eml", $mime='text/html', $size=0, true, false); print '
'. htmlspecialchars($message, ENT_NOQUOTES, 'utf-8') .'
'; } }