From 4d6cee24e2f8317fb7dc3c071a494419d7356310 Mon Sep 17 00:00:00 2001 From: Francois Gaillard 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);