[*] Core: Upgrade smarty to version 3.1.3
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9469 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
+2
-2
@@ -2006,7 +2006,7 @@ class ProductCore extends ObjectModel
|
||||
*/
|
||||
public static function convertPrice($params, &$smarty)
|
||||
{
|
||||
return Tools::displayPrice($params['price'], $smarty->ps_currency);
|
||||
return Tools::displayPrice($params['price'], Context::getContext()->currency);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -2025,7 +2025,7 @@ class ProductCore extends ObjectModel
|
||||
|
||||
public static function displayWtPrice($params, &$smarty)
|
||||
{
|
||||
return Tools::displayPrice($params['p'], $smarty->ps_currency);
|
||||
return Tools::displayPrice($params['p'], Context::getContext()->currency);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user