diff --git a/lib/Thelia/Core/Template/Smarty/SmartyParser.php b/lib/Thelia/Core/Template/Smarty/SmartyParser.php
index <HASH>..<HASH> 100755
--- a/lib/Thelia/Core/Template/Smarty/SmartyParser.php
+++ b/lib/Thelia/Core/Template/Smarty/SmartyParser.php
@@ -102,7 +102,7 @@ class SmartyParser extends Smarty implements ParserInterface
 
     public static function theliaEscape($content, $smarty)
     {
-        if(!is_object($content)) {
+        if(is_scalar($content)) {
             return htmlspecialchars($content ,ENT_QUOTES, Smarty::$_CHARSET);
         } else {
             return $content;
Working
- Allow to parse array and objects in Smarty Template