diff --git a/htdocs/product/stock/card.php b/htdocs/product/stock/card.php
index 6d74d396306..d625c4b3504 100644
--- a/htdocs/product/stock/card.php
+++ b/htdocs/product/stock/card.php
@@ -639,8 +639,8 @@ else
$db->free($resql);
print '
| '.$langs->trans("Total").' | ';
- print '';
- $valtoshow=price2num($totalunit, 'MS');
+ print ' | ';
+ $valtoshow = price2num($totalunit, 'MS');
if(empty($conf->global->PRODUCT_USE_UNITS) || $sameunits) print empty($valtoshow)?'0':$valtoshow;
print ' | ';
print '';
|