aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/route
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-03-26 13:02:11 +0100
committerRobin Appelman <icewind@owncloud.com>2014-03-26 13:02:11 +0100
commit9b2bb7c6abba9cdbcd982c7460e43d024b11198b (patch)
tree7b5edc6e907fae98297bffa22015a18aff747311 /lib/private/route
parent75d8de378cd355671c310bcb62c35504a5c03f0a (diff)
downloadnextcloud-server-9b2bb7c6abba9cdbcd982c7460e43d024b11198b.tar.gz
nextcloud-server-9b2bb7c6abba9cdbcd982c7460e43d024b11198b.zip
fix undefined index warning in router
Diffstat (limited to 'lib/private/route')
-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;