// Fixed 'Nesting level .. too deep recursive dependency' error
This commit is contained in:
1 parent
5f00881341
commit
f10d2c07bb
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)
|
||||
{
|
||||
if ($currency_from == $currency_to)
|
||||
if ($currency_from === $currency_to)
|
||||
return $amount;
|
||||
|
||||
if ($currency_from === null)
|
||||
|
||||
Reference in new issue
Block a user