mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-17 19:38:25 +01:00
* Mail: fix PHP Fatal error in HTML mails, when using PHP 5.3
This commit is contained in:
parent
928a697eb8
commit
62c6523a92
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user