Fix: Better error management

This commit is contained in:
Laurent Destailleur 2010-06-27 20:55:46 +00:00
parent 65678132d5
commit 572bda0742

View File

@ -103,7 +103,7 @@ print '<tr><td>'.$langs->trans("Label").'</td><td colspan="2">'.$product->libell
// Barcode image
$url=DOL_URL_ROOT.'/viewimage.php?modulepart=barcode&generator='.urlencode($product->barcode_type_coder).'&code='.urlencode($product->barcode).'&encoding='.urlencode($product->barcode_type_code);
print '<td width="300" align="center" rowspan="5">';
print '<td width="300" align="center" rowspan="4">';
print '<!-- url barcode = '.$url.' -->';
print '<img src="'.$url.'">';
print '</td>';