Fix display 0 (as virtual stock) instead of empty string

This commit is contained in:
atm-ph 2018-10-11 17:14:22 +02:00
parent 84605bc59b
commit 79420593f4

View File

@ -338,7 +338,7 @@ if ($resql)
// Real stock
print '<td align="right">';
if ($objp->seuil_stock_alerte != '' && ($objp->stock_physique < $objp->seuil_stock_alerte)) print img_warning($langs->trans("StockTooLow")).' ';
print $objp->stock_physique;
print $objp->stock_physique|0;
print '</td>';
// Details per warehouse