aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilly Micieli <micieli@laposte.net>2019-10-27 16:54:53 +0100
committerWilly Micieli <micieli@laposte.net>2019-10-27 16:54:53 +0100
commitbf78bb8a93897dfc377ab0557c51b9a31b226e9c (patch)
treeb8c3621fdbd7042c3de729ec733636297e7fc587
parentc7a678dc6b8138440a467fffc5965374bb2e3ab8 (diff)
downloadshaolin-bf78bb8a93897dfc377ab0557c51b9a31b226e9c.zip
shaolin-bf78bb8a93897dfc377ab0557c51b9a31b226e9c.tar.gz
fix bugs1.2
-rw-r--r--app/Twig/Filters/ViewsFilters.php2
-rw-r--r--app/Twig/Functions/ViewsFunctions.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/Twig/Filters/ViewsFilters.php b/app/Twig/Filters/ViewsFilters.php
index 11dfceb..6e28d9e 100644
--- a/app/Twig/Filters/ViewsFilters.php
+++ b/app/Twig/Filters/ViewsFilters.php
@@ -10,7 +10,7 @@
public function getFilters()
{
return [
- new TwigFilter('', '',['is_safe'=>'html'])
+ new TwigFilter('', '',['is_safe'=>['html']])
];
}
diff --git a/app/Twig/Functions/ViewsFunctions.php b/app/Twig/Functions/ViewsFunctions.php
index e61d779..fba2dc3 100644
--- a/app/Twig/Functions/ViewsFunctions.php
+++ b/app/Twig/Functions/ViewsFunctions.php
@@ -10,7 +10,7 @@
public function getFunctions()
{
return [
- new TwigFunction('', '',['is_safe'=>'html'])
+ new TwigFunction('', '',['is_safe'=>['html']])
];
}