// Context part 25

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7794 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
tDidierjean
2011-07-28 14:17:58 +00:00
parent a1a32714ab
commit d3b2ff2664
55 changed files with 432 additions and 535 deletions
+1 -2
View File
@@ -67,10 +67,9 @@ class AdminRangePrice extends AdminTab
public function displayForm($isMainTab = true)
{
parent::displayForm();
$context = Context::getContext();
if (!($obj = $this->loadObject(true)))
return;
$currency = $context->currency;
$currency = $this->context->currency;
$carrierArray = array();
$carriers = Carrier::getCarriers((int)(Configuration::get('PS_LANG_DEFAULT')), true , false,false, NULL, PS_CARRIERS_AND_CARRIER_MODULES_NEED_RANGE);