Removed $codelang test
This commit is contained in:
parent
4b86e1079c
commit
b08181ee95
@ -3865,8 +3865,6 @@ function picto_from_langcode($codelang)
|
|||||||
{
|
{
|
||||||
global $langs;
|
global $langs;
|
||||||
|
|
||||||
if (!$codelang)
|
|
||||||
{
|
|
||||||
if ($codelang == 'auto')
|
if ($codelang == 'auto')
|
||||||
{
|
{
|
||||||
return img_picto_common($langs->trans('AutoDetectLang'), 'flags/int.png');
|
return img_picto_common($langs->trans('AutoDetectLang'), 'flags/int.png');
|
||||||
@ -3888,9 +3886,6 @@ function picto_from_langcode($codelang)
|
|||||||
}
|
}
|
||||||
|
|
||||||
return img_picto_common($codelang, 'flags/'.strtolower($flagImage).'.png');
|
return img_picto_common($codelang, 'flags/'.strtolower($flagImage).'.png');
|
||||||
}
|
|
||||||
|
|
||||||
return '';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user