Skip to content
Snippets Groups Projects
Commit ff971ba2 authored by JediKev's avatar JediKev
Browse files

oops: Fix Serbian Flag Icon

This addresses issue 3952 where the Serbian language did not have a flag
icon. This icon has to be seen in order for the users to change the
language. The reason the flag wasn’t shown was due to the incorrect class
name for the language link. This updates the class naming section to add
the correct part of the language name to the class.
parent d2ef3b1f
No related branches found
No related tags found
No related merge requests found
......@@ -115,7 +115,7 @@ if (($all_langs = Internationalization::getConfiguredSystemLanguages())
list($lang, $locale) = explode('_', $code);
$qs['lang'] = $code;
?>
<a class="flag flag-<?php echo strtolower($locale ?: $info['flag'] ?: $lang); ?>"
<a class="flag flag-<?php echo strtolower($info['flag'] ?: $locale ?: $lang); ?>"
href="?<?php echo http_build_query($qs);
?>" title="<?php echo Internationalization::getLanguageDescription($code); ?>">&nbsp;</a>
<?php }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment