diff --git a/htdocs/expedition/list.php b/htdocs/expedition/list.php
index 7640d94cf2b..16963f3fb51 100644
--- a/htdocs/expedition/list.php
+++ b/htdocs/expedition/list.php
@@ -638,8 +638,7 @@ if (!empty($arrayfields['e.date_delivery']['checked'])) {
print '';
print '';
}
-if (!empty($arrayfields['e.shipping_method_id']['checked']))
-{
+if (!empty($arrayfields['e.shipping_method_id']['checked'])) {
// Delivery method
print '
';
$shipment->fetch_delivery_methods();
@@ -885,12 +884,11 @@ while ($i < min($num, $limit)) {
print dol_print_date($db->jdate($obj->delivery_date), "dayhour");
print " | \n";
}
- if (!empty($arrayfields['e.shipping_method_id']['checked']))
- {
+ if (!empty($arrayfields['e.shipping_method_id']['checked'])) {
// Get code using getLabelFromKey
$code=$langs->getLabelFromKey($db, $shipment->shipping_method_id, 'c_shipment_mode', 'rowid', 'code');
print '';
- if($shipment->shipping_method_id > 0) print $langs->trans("SendingMethod".strtoupper($code));
+ if ($shipment->shipping_method_id > 0) print $langs->trans("SendingMethod".strtoupper($code));
print ' | ';
}
// Tracking number