summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/public.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/public.php')
-rw-r--r--apps/files_sharing/public.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/public.php b/apps/files_sharing/public.php
index 1fcdf2fe505..99cdb882206 100644
--- a/apps/files_sharing/public.php
+++ b/apps/files_sharing/public.php
@@ -34,7 +34,7 @@ if ($token !== '') {
} else {
http_response_code(307);
}
- header('Location: ' . $urlGenerator->linkToRoute($route, array('token' => $token)));
+ header('Location: ' . $urlGenerator->linkToRoute($route, ['token' => $token]));
} else {
http_response_code(404);
$tmpl = new OCP\Template('', '404', 'guest');