Skip to content

Commit 1445ad2

Browse files
committed
Force unix linebreaks when a language file gets imported which has windows linebreaks inside.
1 parent 28d1b53 commit 1445ad2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/web/admin/language_import.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
$langfile_path = trim(ISPC_WEB_PATH.'/'.$module_name.'/lib/lang/'.$file_name);
8585
}
8686
} else {
87-
$buffer .= $line;
87+
$buffer .= trim($line)."\n";
8888
}
8989
}
9090
}

0 commit comments

Comments
 (0)