* Mail: fix PHP Fatal error in HTML mails, when using PHP 5.3

This commit is contained in:
Ralf Becker 2015-07-13 11:37:48 +00:00
parent 928a697eb8
commit 62c6523a92

View File

@ -3162,7 +3162,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