Updated towards code standards

This commit is contained in:
Jeroen De Meerleer 2018-12-29 11:39:19 +01:00 committed by Hypolite Petovan
parent e0777b6bc9
commit b440b4c338
1 changed files with 1 additions and 1 deletions

View File

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