summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-03-26 15:52:31 +0100
committerVincent Petry <pvince81@owncloud.com>2014-03-26 15:52:31 +0100
commitd57bb70b032b7a55fa8935300df611142f86c726 (patch)
tree4b0431b2f9a9cf45d200c2541082cbdd3c08ab4c /lib/private
parentb656c68edee995e17f6eb1febe2a1d620564a2c9 (diff)
parent9b2bb7c6abba9cdbcd982c7460e43d024b11198b (diff)
downloadnextcloud-server-d57bb70b032b7a55fa8935300df611142f86c726.tar.gz
nextcloud-server-d57bb70b032b7a55fa8935300df611142f86c726.zip
Merge pull request #7889 from owncloud/routing-warning
Fix undefined index warning in router
Diffstat (limited to 'lib/private')
-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;