From c44d9bf8e27770d15ce28b1798504072c8fe0688 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 14 Mar 2019 23:27:50 +0100 Subject: [PATCH] Fix phpcs --- htdocs/expedition/card.php | 4 +--- htdocs/livraison/card.php | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) 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