template flag bug

This commit is contained in:
Fred Tempez 2022-10-18 11:07:48 +02:00
parent d93286985c
commit 13b0cbddf8

View File

@ -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':