diff --git a/htdocs/expedition/card.php b/htdocs/expedition/card.php
index 05770c7d44a..b2d45e11a6f 100644
--- a/htdocs/expedition/card.php
+++ b/htdocs/expedition/card.php
@@ -1368,7 +1368,7 @@ if ($action == 'create')
print '
| ';
print ' ';
print ' | ';
-
+
print '';
print img_warning().' '.$langs->trans("NoProductToShipFoundIntoStock", $staticwarehouse->libelle);
print ' |
';
@@ -1424,7 +1424,6 @@ if ($action == 'create')
print '';
print '('.$stock.')';
-
}
else
{
@@ -1525,7 +1524,6 @@ if ($action == 'create')
}
}
}
-
}
if ($subj == 0) // Line not shown yet, we show it
{
diff --git a/htdocs/livraison/card.php b/htdocs/livraison/card.php
index f567773d714..aec52404bd1 100644
--- a/htdocs/livraison/card.php
+++ b/htdocs/livraison/card.php
@@ -608,7 +608,7 @@ else
$reshook = $hookmanager->executeHooks('printObjectLine', $parameters, $object, $action);
if ($reshook < 0) setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');
- if (empty($reshook))
+ if (empty($reshook))
{
print '';
if ($object->lines[$i]->fk_product > 0)
@@ -635,7 +635,7 @@ else
{
$label = (!empty($object->lines[$i]->label) ? $object->lines[$i]->label : $object->lines[$i]->product_label);
}
-
+
print '| ';
// Affiche ligne produit
|