mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
fix illegal string offset
This commit is contained in:
parent
5d744af64a
commit
612a991c85
@ -1691,7 +1691,7 @@ class Mail
|
|||||||
// check if client set a wrong charset and content is utf-8 --> use utf-8
|
// check if client set a wrong charset and content is utf-8 --> use utf-8
|
||||||
if (strtolower($charSet) !='utf-8' && preg_match('//u', $headerObject['BODYPREVIEW']))
|
if (strtolower($charSet) !='utf-8' && preg_match('//u', $headerObject['BODYPREVIEW']))
|
||||||
{
|
{
|
||||||
$charSet['charSet'] = 'UTF-8';
|
$charSet = 'UTF-8';
|
||||||
}
|
}
|
||||||
// add line breaks to $bodyParts
|
// add line breaks to $bodyParts
|
||||||
//error_log(__METHOD__.' ('.__LINE__.') '.' Charset:'.$bodyParts[$i]['charSet'].'->'.$bodyParts[$i]['body']);
|
//error_log(__METHOD__.' ('.__LINE__.') '.' Charset:'.$bodyParts[$i]['charSet'].'->'.$bodyParts[$i]['body']);
|
||||||
|
Loading…
Reference in New Issue
Block a user