Skip to content

Commit 81c22fc

Browse files
authored
Merge pull request #59401 from nextcloud/backport/58872/stable33
2 parents aa80d30 + de669e7 commit 81c22fc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)