Notice: Only variables should be assigned by reference in /data/www/squirrelmail-devel/src/view_html.php on line 57
Warning: Cannot modify header information - headers already sent by (output started at /data/www/squirrelmail-devel/src/view_html.php:57) in /data/www/squirrelmail-devel/src/view_html.php on line 84
PHP 4.4.0-3 (Ubuntu 5.10 package)
This fix eliminates it.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10236
7612ce4b-ef26-0410-bec9-
ea0150e637f0
if (!is_object($message)) {
$message = sqimap_get_message($imap_stream, $passed_id, $mailbox);
}
-$message_ent = &$message->getEntity($ent_id);
+$message_ent = $message->getEntity($ent_id);
if ($passed_ent_id) {
- $message = &$message->getEntity($passed_ent_id);
+ $message = $message->getEntity($passed_ent_id);
}
$header = $message_ent->header;
$type0 = $header->type0;
header('Content-Type: text/html; charset=' . $charset);
echo $body;
-?>
\ No newline at end of file
+?>