Browse Source

Updated towards code standards

pull/6482/head
Jeroen De Meerleer 3 years ago
committed by Hypolite Petovan
parent
commit
b440b4c338
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Core/L10n.php

+ 1
- 1
src/Core/L10n.php View File

@ -111,7 +111,7 @@ class L10n extends BaseObject
}
//if $_GET['lang'] is set force $_GET['lang']
if (isset($_GET['lang'])) {
$lang_list = [ $_GET['lang'] ];
$lang_list = [$_GET['lang']];
}
// check if we have translations for the preferred languages and pick the 1st that has
foreach ($lang_list as $lang) {


Loading…
Cancel
Save