mirror of
https://github.com/nextcloud/server.git
synced 2026-04-11 03:57:01 -04:00
Merge pull request #59400 from nextcloud/backport/58872/stable32
This commit is contained in:
commit
faa6db2d9c
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue