$tmpcode is always defined
This commit is contained in:
parent
808cfdd9f4
commit
9c0e6d2b20
@ -3887,7 +3887,7 @@ function picto_from_langcode($codelang)
|
|||||||
$tmpcode = empty($tmparray[1]) ? $tmparray[0] : $tmparray[1];
|
$tmpcode = empty($tmparray[1]) ? $tmparray[0] : $tmparray[1];
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($tmpcode) return img_picto_common($codelang, 'flags/'.strtolower($tmpcode).'.png');
|
return img_picto_common($codelang, 'flags/'.strtolower($tmpcode).'.png');
|
||||||
}
|
}
|
||||||
|
|
||||||
return '';
|
return '';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user