// Fixed 'Nesting level .. too deep recursive dependency' error

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12442 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
bMancone
2012-01-16 15:50:44 +00:00
parent 6d824dee67
commit 9d481b0b9a
+1 -1
View File
@@ -516,7 +516,7 @@ class ToolsCore
*/ */
public static function convertPriceFull($amount, Currency $currency_from = null, Currency $currency_to = null) public static function convertPriceFull($amount, Currency $currency_from = null, Currency $currency_to = null)
{ {
if ($currency_from == $currency_to) if ($currency_from === $currency_to)
return $amount; return $amount;
if ($currency_from === null) if ($currency_from === null)