template flag bug
This commit is contained in:
parent
d93286985c
commit
13b0cbddf8
@ -488,7 +488,7 @@ class template
|
||||
switch ($langId) {
|
||||
case '':
|
||||
break;
|
||||
case in_array($langId, core::$languages):
|
||||
case array_key_exists($langId, core::$languages):
|
||||
$lang = $langId;
|
||||
break;
|
||||
case 'selected':
|
||||
|
Loading…
Reference in New Issue
Block a user