From 5fdebf923c7c7541eb1b6d40758445b97d7da64d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6=20=28skjnldsv=29?= Date: Wed, 11 Mar 2026 17:24:11 +0100 Subject: [PATCH] fix(lib): templates core path detection MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- lib/private/Template/Template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/Template/Template.php b/lib/private/Template/Template.php index 1eb731659b181..040c1daf19ed5 100644 --- a/lib/private/Template/Template.php +++ b/lib/private/Template/Template.php @@ -73,7 +73,7 @@ public function __construct( */ protected function findTemplate(string $theme, string $app, string $name): array { // Check if it is a app template or not. - if ($app !== '') { + if ($app !== '' && $app !== 'core') { try { $appDir = Server::get(IAppManager::class)->getAppPath($app); } catch (AppPathNotFoundException) {