From fde068ee7bdb27f176cb0992721903af67954149 Mon Sep 17 00:00:00 2001 From: "Bruno O. Notario" Date: Fri, 27 Nov 2020 10:32:04 -0300 Subject: [PATCH] Twig 3 translate extencion bugfix --- system/engine/VERSION | 2 +- system/templateEngines/Twig/Extension/ExacTITranslate.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/system/engine/VERSION b/system/engine/VERSION index 8e03717..a73b432 100644 --- a/system/engine/VERSION +++ b/system/engine/VERSION @@ -1 +1 @@ -1.5.1 \ No newline at end of file +1.5.2 \ No newline at end of file diff --git a/system/templateEngines/Twig/Extension/ExacTITranslate.php b/system/templateEngines/Twig/Extension/ExacTITranslate.php index fee2700..3782e89 100644 --- a/system/templateEngines/Twig/Extension/ExacTITranslate.php +++ b/system/templateEngines/Twig/Extension/ExacTITranslate.php @@ -45,7 +45,7 @@ class transTokenParser extends \Twig\TokenParser\AbstractTokenParser $stream->expect(\Twig\Token::BLOCK_END_TYPE); } - return new transNode(new \Twig\Node($params), $lineno, $this->getTag()); + return new transNode(new \Twig\Node\Node($params), $lineno, $this->getTag()); } /**