diff --git a/classes/Tools.php b/classes/Tools.php
index a9546d174..f66db4bd0 100644
--- a/classes/Tools.php
+++ b/classes/Tools.php
@@ -2648,7 +2648,7 @@ exit;
if ($message === null) {
$message = 'The function '.$callee['function'].' (Line '.$callee['line'].') is deprecated and will be removed in the next major version.';
}
- $error = 'Function: '.$callee['function'].'() is deprecated in file: '.$callee['file'].' on line: '.$callee['line'].'
';
+ $error = 'Function: '.$callee['function'].'() is deprecated in file: '.$callee['file'].' on line: '.$callee['line'].'
';
Tools::throwDeprecated($error, $message, $class);
}
diff --git a/config/smarty.config.inc.php b/config/smarty.config.inc.php
index 9395d9021..e4f2a1944 100644
--- a/config/smarty.config.inc.php
+++ b/config/smarty.config.inc.php
@@ -93,8 +93,6 @@ smartyRegisterFunction($smarty, 'function', 'd', 'smartyDieObject'); // Debug on
smartyRegisterFunction($smarty, 'function', 'l', 'smartyTranslate', false);
smartyRegisterFunction($smarty, 'function', 'hook', 'smartyHook');
smartyRegisterFunction($smarty, 'function', 'toolsConvertPrice', 'toolsConvertPrice');
-smartyRegisterFunction($smarty, 'modifier', 'json_encode', 'json_encode');
-smartyRegisterFunction($smarty, 'modifier', 'json_decode', 'json_decode');
smartyRegisterFunction($smarty, 'function', 'dateFormat', array('Tools', 'dateFormat'));
smartyRegisterFunction($smarty, 'function', 'convertPrice', array('Product', 'convertPrice'));
smartyRegisterFunction($smarty, 'function', 'convertPriceWithCurrency', array('Product', 'convertPriceWithCurrency'));