From 49965e89fe1e1d9125ab44970d655c054f5d2490 Mon Sep 17 00:00:00 2001 From: fGaillard Date: Thu, 24 May 2012 13:04:14 +0000 Subject: [PATCH] // Bug fix payment module (with previous commit) git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15661 b9a71923-0436-4b27-9f14-aed3839534dd --- 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);