// Context part 12
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7649 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -1522,7 +1522,7 @@ class AdminProducts extends AdminTab
|
||||
if (!($obj = $this->loadObject(true)))
|
||||
return;
|
||||
|
||||
$currency = new Currency(Configuration::get('PS_CURRENCY_DEFAULT'));
|
||||
$currency = $context->currency;
|
||||
|
||||
if ($obj->id)
|
||||
self::$currentIndex .= '&id_product='.$obj->id;
|
||||
@@ -3126,7 +3126,7 @@ class AdminProducts extends AdminTab
|
||||
$attributes = Attribute::getAttributes($context->language->id, true);
|
||||
foreach ($attributes AS $k => $attribute)
|
||||
$attributeJs[$attribute['id_attribute_group']][$attribute['id_attribute']] = $attribute['name'];
|
||||
$currency = new Currency(Configuration::get('PS_CURRENCY_DEFAULT'));
|
||||
$currency = $context->currency;
|
||||
$attributes_groups = AttributeGroup::getAttributesGroups($context->language->id);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user