mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
remove CR from start and end of lang string line read from file, as it breaks stuff e.g. in eMail module
This commit is contained in:
parent
36bc7871c1
commit
c3d2170518
@ -463,7 +463,7 @@ class translation
|
||||
//while(($line = fgetcsv($f, 1024, "\t")))
|
||||
while($line = fgets($f))
|
||||
{
|
||||
$line = explode("\t", $line);
|
||||
$line = explode("\t", trim($line));
|
||||
++$line_nr;
|
||||
if (count($line) != 4) continue;
|
||||
list($l_id,$l_app,$l_lang,$l_translation) = $line;
|
||||
|
Loading…
Reference in New Issue
Block a user