Skip to content

Commit b62aba4

Browse files
committed
array syntax fix
1 parent 3bd2d0a commit b62aba4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/inc/i18n.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ function detect_user_language($fallback='en') {
6969

7070
// Sort Accept-Language by `q` value
7171
$accept_langs = explode(',', preg_replace('/\s/', '', strtolower($_SERVER['HTTP_ACCEPT_LANGUAGE'])));
72-
$accept_langs_sorted = [];
72+
$accept_langs_sorted = array() ;
7373
foreach ($accept_langs as $lang) {
7474
$div = explode(';q=', $lang, 2);
7575
if (count($div) < 2) {

0 commit comments

Comments
 (0)