Fix: Invalid image link
This commit is contained in:
parent
ea773531b5
commit
dfb4117bb5
@ -236,9 +236,12 @@ if ($resql)
|
|||||||
|
|
||||||
// Country
|
// Country
|
||||||
print '<tr><td>'.$langs->trans('Country').'</td><td colspan="3">';
|
print '<tr><td>'.$langs->trans('Country').'</td><td colspan="3">';
|
||||||
$img=picto_from_langcode($entrepot->country_code);
|
if (! empty($entrepot->country_code))
|
||||||
print ($img?$img.' ':'');
|
{
|
||||||
print $entrepot->country;
|
$img=picto_from_langcode($entrepot->country_code);
|
||||||
|
print ($img?$img.' ':'');
|
||||||
|
print $entrepot->country;
|
||||||
|
}
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
// Status
|
// Status
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user