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

This commit is contained in:
bMancone
2012-01-16 15:50:44 +00:00
parent 5f00881341
commit f10d2c07bb
+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)