mirror of
https://github.com/nextcloud/server.git
synced 2026-06-07 15:53:04 -04:00
Merge pull request #45246 from nextcloud/backport/44797/stable29
This commit is contained in:
commit
75fb6fdbc4
1 changed files with 1 additions and 1 deletions
|
|
@ -157,7 +157,7 @@ class Router implements IRouter {
|
|||
}
|
||||
$this->eventLogger->start('route:load:' . $requestedApp, 'Loading Routes for ' . $requestedApp);
|
||||
|
||||
if ($requestedApp !== null) {
|
||||
if ($requestedApp !== null && in_array($requestedApp, \OC_App::getEnabledApps())) {
|
||||
$routes = $this->getAttributeRoutes($requestedApp);
|
||||
if (count($routes) > 0) {
|
||||
$this->useCollection($requestedApp);
|
||||
|
|
|
|||
Loading…
Reference in a new issue