diff --git a/view/lean-console/page/caching/picea.phtml b/view/lean-console/page/caching/picea.phtml index 78ff5d6..e91a820 100644 --- a/view/lean-console/page/caching/picea.phtml +++ b/view/lean-console/page/caching/picea.phtml @@ -24,7 +24,7 @@ {% php $import = include($file) %}
- {{ substr($file, strlen($path)) }} + {{ substr((string) $file, strlen($path)) }}
{{ $import['namespace'] }} diff --git a/view/lean-console/page/templating/picea.phtml b/view/lean-console/page/templating/picea.phtml index 4508fe8..af7b2d5 100644 --- a/view/lean-console/page/templating/picea.phtml +++ b/view/lean-console/page/templating/picea.phtml @@ -18,7 +18,7 @@
{% foreach $folder as $file %}
- {{ substr($file, strlen($path)) }} + {{ substr((string) $file, strlen($path)) }}
{# Voir