mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
fix PHP Fatal error: Cannot pass parameter 3 by reference
This commit is contained in:
parent
5af58140f2
commit
9a633cab48
@ -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 '<pre>'. htmlspecialchars($message, ENT_NOQUOTES, 'utf-8') .'</pre>';
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user