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