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) {