From f32ca94f437910418a8568bf590e1204430f3f34 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Fri, 12 Jan 2018 12:19:23 +0100 Subject: [PATCH] CS --- modules/logistics/carriers/laposte/laposte.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/modules/logistics/carriers/laposte/laposte.php b/modules/logistics/carriers/laposte/laposte.php index affbeb2e..7b6c39f4 100644 --- a/modules/logistics/carriers/laposte/laposte.php +++ b/modules/logistics/carriers/laposte/laposte.php @@ -623,7 +623,8 @@ $laposte_formats = array( ); -class LaposteCarrier { +class LaposteCarrier +{ public $displayName = 'La Poste'; public function l($string, $specific = false, $id_lang = null) { @@ -658,7 +659,8 @@ class LaposteCarrier { ); } - public function registerParcel($order, $products, $weight) { + public function registerParcel($order, $products, $weight) + { global $cookie; $html = ''; @@ -734,7 +736,8 @@ class LaposteCarrier { return array($html, $result); } - public function renderLabel($order, $weight, $shipping_data) { + public function renderLabel($order, $weight, $shipping_data) + { global $cookie, $laposte_formats; /**