diff --git a/src/web/twig/Extension.php b/src/web/twig/Extension.php index ccac7c40754..ac2a145ed18 100644 --- a/src/web/twig/Extension.php +++ b/src/web/twig/Extension.php @@ -214,7 +214,7 @@ public function getFilters(): array new \Twig_SimpleFilter('indexOf', [$this, 'indexOfFilter']), new \Twig_SimpleFilter('intersect', 'array_intersect'), new \Twig_SimpleFilter('json_encode', [$this, 'jsonEncodeFilter']), - new \Twig_SimpleFilter('json_decode', [Json::class, 'json_decode']), + new \Twig_SimpleFilter('json_decode', [Json::class, 'decode']), new \Twig_SimpleFilter('kebab', [$this, 'kebabFilter']), new \Twig_SimpleFilter('lcfirst', [$this, 'lcfirstFilter']), new \Twig_SimpleFilter('literal', [$this, 'literalFilter']),