From 48ef7f7d3c0f70bcb44f76dcab24ba2801f6696d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Gaillard?= Date: Thu, 24 May 2012 13:04:14 +0000 Subject: [PATCH] // Bug fix payment module (with previous commit) --- classes/PaymentModule.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/PaymentModule.php b/classes/PaymentModule.php index 85e011067..1d610a90a 100644 --- a/classes/PaymentModule.php +++ b/classes/PaymentModule.php @@ -226,8 +226,8 @@ abstract class PaymentModuleCore extends Module } else { - $order->id_shop = $cart->id_shop; - $order->id_shop_group = $cart->id_shop_group; + $order->id_shop = (int)$cart->id_shop; + $order->id_shop_group = (int)$cart->id_shop_group; } $customer = new Customer($order->id_customer);