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 8b2c9e72f20..a9fad7bc292 100644
--- a/lib/private/route/router.php
+++ b/lib/private/route/router.php
@@ -108,7 +108,7 @@ class Router implements IRouter {
}
$file = \OC_App::getAppPath($app) . '/appinfo/routes.php';
if (file_exists($file)) {
- $routingFiles[$app] = array($file);
+ $routingFiles = array($app => $file);
} else {
$routingFiles = array();
}