Merge pull request #13225 from prietojc/patch-13
Update translate.class.php
This commit is contained in:
commit
bb5b55f9e3
@ -282,7 +282,7 @@ class Translate
|
||||
* and split the rest until a line feed.
|
||||
* This is more efficient than fgets + explode + trim by a factor of ~2.
|
||||
*/
|
||||
while ($line = fscanf($fp, "%[^= ]%*[ =]%[^\n]"))
|
||||
while ($line = fscanf($fp, "%[^= ]%*[ =]%[^\n\r]"))
|
||||
{
|
||||
if (isset($line[1]))
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user