From 8272408b6e5a1d4c1d76a7ba54695d8934699ec0 Mon Sep 17 00:00:00 2001 From: alexis portable Date: Tue, 9 May 2017 14:43:54 +0200 Subject: [PATCH] fix travis case statement --- htdocs/product/list-with-listview.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/product/list-with-listview.php b/htdocs/product/list-with-listview.php index 8d53496dbcb..e3103d8f426 100644 --- a/htdocs/product/list-with-listview.php +++ b/htdocs/product/list-with-listview.php @@ -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;