// Fix bug of toto on line 451 of carrier.php (he report modifications after change on signature function)

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8007 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie committed 2011-08-10 16:04:59 +00:00
1 parent aad6d1b6f3
commit 183e1289c4
1 file changed
-3
-3
View File
@@ -448,11 +448,8 @@ class CarrierCore extends ObjectModel
public static function getCarriersForOrder($id_zone, $groups = NULL) public static function getCarriersForOrder($id_zone, $groups = NULL)
{ {
$context = Context::getContext(); $context = Context::getContext();
if (!$id_lang)
$id_lang = $context->language->id; $id_lang = $context->language->id;
if (!$cart)
$cart = $context->cart; $cart = $context->cart;
if (!$id_currency)
$id_currency = $context->currency->id; $id_currency = $context->currency->id;
if (is_array($groups) AND !empty($groups)) if (is_array($groups) AND !empty($groups))