* Mail: fix PHP Fatal error under 5.3 when displaying mails containing inline-images

This commit is contained in:
Ralf Becker 2015-09-05 12:25:41 +00:00
parent f55ce966cb
commit ac8f68cd29

View File

@ -2935,7 +2935,7 @@ class mail_ui
{ {
if ($_type !="background") if ($_type !="background")
{ {
$bo = emailadmin_imapbase::getInstance(false, self::$icServerID); $bo = emailadmin_imapbase::getInstance(false, mail_ui::$icServerID);
$attachment = $bo->getAttachmentByCID($_uid, $CID, $_partID); $attachment = $bo->getAttachmentByCID($_uid, $CID, $_partID);
// only use data uri for "smaller" images, as otherwise the first display of the mail takes to long // only use data uri for "smaller" images, as otherwise the first display of the mail takes to long