Merge pull request #7889 from owncloud/routing-warning

Fix undefined index warning in router
This commit is contained in:
Vincent Petry 2014-03-26 15:52:31 +01:00
commit d57bb70b03

View file

@ -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;