// 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:
1 parent
6d824dee67
commit
9d481b0b9a
1 file changed
+1
-1
+1
-1
@@ -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)
|
||||||
|
|||||||
Reference in new issue
Block a user