Merge pull request #59400 from nextcloud/backport/58872/stable32

This commit is contained in:
John Molakvoæ 2026-04-02 16:07:39 +02:00 committed by GitHub
commit faa6db2d9c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -73,7 +73,7 @@ class Template extends Base implements ITemplate {
*/
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) {