Skip to content

Commit 24949e7

Browse files
author
Till Brehm
committed
1 parent d219d48 commit 24949e7

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
@@ -36,7 +36,7 @@ function normalize_string($string, $quote, $allow_special = false) {
3636
$new_string = '';
3737

3838
for($c = 0; $c < mb_strlen($string); $c++) {
39-
$char = $string{$c};
39+
$char = mb_substr($string, $c, 1);
4040

4141
if($in_string === true && $escaped === false && $char === $quote) {
4242
// this marks a string end (e.g. for concatenation)

0 commit comments

Comments
 (0)