// Fix bug with || instead of a &&

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15745 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mDeflotte
2012-05-30 07:14:21 +00:00
parent 77c458b6a9
commit ed228a12b4
+1 -1
View File
@@ -219,7 +219,7 @@ abstract class PaymentModuleCore extends Module
$order->id_cart = (int)$cart->id;
$order->reference = $reference;
if (($shop != null) || (Shop::getContext() == Shop::CONTEXT_SHOP))
if (($shop != null) && (Shop::getContext() == Shop::CONTEXT_SHOP))
{
$order->id_shop = (int)$shop->id;
$order->id_shop_group = (int)$shop->id_shop_group;