Fix: Invalid image link

This commit is contained in:
Laurent Destailleur 2014-03-01 14:58:06 +01:00
parent ea773531b5
commit dfb4117bb5

View File

@ -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