From e1d3d0e9486f8816d9e180b5231e66af7211fba6 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Tue, 25 Mar 2014 14:04:18 +0100 Subject: fix incorect array --- lib/private/route/router.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/private/route/router.php') 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(); } -- cgit v1.2.3