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');
|
||||||
@ -3890,9 +3888,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 '';
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Complete or removed entries into a head array (used to build tabs) with value added by external modules.
|
* Complete or removed entries into a head array (used to build tabs) with value added by external modules.
|
||||||
* Such values are declared into $conf->tabs_modules.
|
* Such values are declared into $conf->tabs_modules.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user