mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-24 07:39:27 +01:00
fix PHP Fatal error: Cannot pass parameter 3 by reference
This commit is contained in:
parent
97d38091d8
commit
6fce59832d
@ -2553,12 +2553,12 @@ class mail_ui
|
|||||||
if (!$display)
|
if (!$display)
|
||||||
{
|
{
|
||||||
$subject = str_replace('$$','__',mail_bo::decode_header($headers['SUBJECT']));
|
$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;
|
echo $message;
|
||||||
}
|
}
|
||||||
else
|
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>';
|
print '<pre>'. htmlspecialchars($message, ENT_NOQUOTES, 'utf-8') .'</pre>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user