summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/private/route/router.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/route/router.php b/lib/private/route/router.php
index bad74c925fa..1f0a23ee124 100644
--- a/lib/private/route/router.php
+++ b/lib/private/route/router.php
@@ -114,7 +114,7 @@ class Router implements IRouter {
}
}
foreach ($routingFiles as $app => $file) {
- if (!$this->loadedApps[$app]) {
+ if (!isset($this->loadedApps[$app])) {
$this->loadedApps[$app] = true;
$this->useCollection($app);
require_once $file;