fix travis case statement

This commit is contained in:
alexis portable 2017-05-09 14:43:54 +02:00
parent 651ea92657
commit 8272408b6e

View File

@ -438,7 +438,7 @@ else
if ($object->type != 1)
{
if ($object->seuil_stock_alerte != '' && $object->stock_theorique < (float) $object->seuil_stock_alerte) $out.= img_warning($langs->trans("StockTooLow")).' ';
$out.= $object->stock_theorique;
$out.= (double) $object->stock_theorique;
}
return $out;
@ -460,7 +460,7 @@ else
if ($object->type != 1)
{
if ($object->seuil_stock_alerte != '' && $object->stock_reel< (float) $object->seuil_stock_alerte) $out.= img_warning($langs->trans("StockTooLow")).' ';
$out.= (double)$object->stock_reel;
$out.= (double) $object->stock_reel;
}
return $out;