Fix: [ bug #1849 ] Broken flag image when a contact does not have a

country set
This commit is contained in:
Laurent Destailleur
2015-02-19 09:44:22 +01:00
parent d1a4b6c2c5
commit ec56667f5e

View File

@@ -4305,6 +4305,8 @@ function picto_from_langcode($codelang)
{
global $langs;
if (empty($codelang)) return '';
if ($codelang == 'auto')
{
return img_picto_common($langs->trans('AutoDetectLang'), 'flags/int.png');