Skip to content

Commit faa6db2

Browse files
authored
Merge pull request #59400 from nextcloud/backport/58872/stable32
2 parents 443f489 + 8a7e212 commit faa6db2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/private/Template/Template.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public function __construct(
7373
*/
7474
protected function findTemplate(string $theme, string $app, string $name): array {
7575
// Check if it is a app template or not.
76-
if ($app !== '') {
76+
if ($app !== '' && $app !== 'core') {
7777
try {
7878
$appDir = Server::get(IAppManager::class)->getAppPath($app);
7979
} catch (AppPathNotFoundException) {

0 commit comments

Comments
 (0)