From 62c6523a924a97603ecd39c54792fb1ef12cbc12 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 13 Jul 2015 11:37:48 +0000 Subject: [PATCH] * Mail: fix PHP Fatal error in HTML mails, when using PHP 5.3 --- mail/inc/class.mail_ui.inc.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mail/inc/class.mail_ui.inc.php b/mail/inc/class.mail_ui.inc.php index d82c5d4533..53915901ef 100644 --- a/mail/inc/class.mail_ui.inc.php +++ b/mail/inc/class.mail_ui.inc.php @@ -3071,7 +3071,7 @@ class mail_ui return $body; } - + /** * Resolve inline images from CID to proper url * @@ -3097,7 +3097,7 @@ class mail_ui return $_body; } } - + /** * Replace CID with proper type of content understandable by browser * @@ -3162,7 +3162,7 @@ class mail_ui { if ($_type !="background") { - $bo = emailadmin_imapbase::getInstance(false, self::$icServerID); + $bo = emailadmin_imapbase::getInstance(false, mail_ui::$icServerID); $attachment = $bo->getAttachmentByCID($_uid, $CID, $_partID); // only use data uri for "smaller" images, as otherwise the first display of the mail takes to long @@ -3199,7 +3199,7 @@ class mail_ui } return false; }; - + // return new body content base on chosen type switch($_type) {