// 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:
tDidierjean
2011-07-19 09:28:11 +00:00
parent 8a0a62ae03
commit 89213e18e5
53 changed files with 184 additions and 196 deletions
+2 -2
View File
@@ -440,8 +440,8 @@ class AdminReferrers extends AdminTab
public function displayListContent($token = NULL)
{
$context = Context::getContext();
$irow = 0;
$currency = new Currency(Configuration::get('PS_CURRENCY_DEFAULT'));
if ($this->_list)
foreach ($this->_list AS $tr)
{
@@ -452,7 +452,7 @@ class AdminReferrers extends AdminTab
{
echo '<td onclick="showProductLines('.$id.');" class="pointer '.(isset($params['align']) ? $params['align'] : '').'">'.(isset($params['prefix']) ? $params['prefix'] : '');
if (isset($tr[$key]) AND isset($params['price']))
echo Tools::displayPrice($tr[$key], $currency);
echo Tools::displayPrice($tr[$key], $context->currency);
elseif (isset($tr[$key]))
echo $tr[$key];
else