mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
fix for mbstring.overloading = 7
This commit is contained in:
parent
d3ec2fcfbf
commit
2981120ef4
@ -60,7 +60,9 @@
|
||||
$fp = fopen($fn,'r');
|
||||
while ($data = fgets($fp,8000))
|
||||
{
|
||||
list($message_id,$app_name,$null,$content) = explode("\t",substr($data,0,-1));
|
||||
// this is not working if mbstring.overloading = 7 and the content contains a special char
|
||||
// list($message_id,$app_name,$null,$content) = explode("\t",substr($data,0,-1));
|
||||
list($message_id,$app_name,$null,$content) = split("[\t\n]",$data);
|
||||
$this->langarray[strtolower(trim($message_id))] = $content;
|
||||
}
|
||||
fclose($fp);
|
||||
|
Loading…
Reference in New Issue
Block a user