aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/template/twig/extension.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/template/twig/extension.php')
-rw-r--r--phpBB/includes/template/twig/extension.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/template/twig/extension.php b/phpBB/includes/template/twig/extension.php
index a3da61fcdb..1ea5f7b662 100644
--- a/phpBB/includes/template/twig/extension.php
+++ b/phpBB/includes/template/twig/extension.php
@@ -57,6 +57,7 @@ class phpbb_template_twig_extension extends Twig_Extension
{
return array(
new Twig_SimpleFilter('subset', array($this, 'loop_subset'), array('needs_environment' => true)),
+ new Twig_SimpleFilter('addslashes', 'addslashes'),
);
}