From 502795d688ad5e97d868ee2b6f4e2f7c8326bef5 Mon Sep 17 00:00:00 2001 From: Dave Mc Nicoll Date: Thu, 16 Jul 2026 17:38:58 -0400 Subject: [PATCH] - Fixed a missing cast in two files --- view/lean-console/page/caching/picea.phtml | 2 +- view/lean-console/page/templating/picea.phtml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)) }}