diff --git a/core/lib/Thelia/Core/Template/Smarty/SmartyParser.php b/core/lib/Thelia/Core/Template/Smarty/SmartyParser.php index f652aaa01..251ae9b9c 100755 --- a/core/lib/Thelia/Core/Template/Smarty/SmartyParser.php +++ b/core/lib/Thelia/Core/Template/Smarty/SmartyParser.php @@ -218,7 +218,7 @@ class SmartyParser extends Smarty implements ParserInterface public function render($realTemplateName, array $parameters = array()) { if (false === $this->templateExists($realTemplateName)) { - throw new ResourceNotFoundException(Translator::getInstance()->trans("Template file %file cannot be found.", array('%file', $realTemplateName))); + throw new ResourceNotFoundException(Translator::getInstance()->trans("Template file %file cannot be found.", array('%file' => $realTemplateName))); } return $this->internalRenderer('file', $realTemplateName, $parameters);