summaryrefslogtreecommitdiffstats
path: root/apps/files/lib
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-07-12 08:40:18 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-07-12 16:49:39 +0200
commit5bac9693511ca0e9e5f0553ecc8791cccf05c935 (patch)
tree1aa8a06d19cd0795935be6faab9b80bf26195b1f /apps/files/lib
parent5470b9521a8f128dba88e441f7147e912c5b48d6 (diff)
downloadnextcloud-server-5bac9693511ca0e9e5f0553ecc8791cccf05c935.tar.gz
nextcloud-server-5bac9693511ca0e9e5f0553ecc8791cccf05c935.zip
Fixed invalid uid
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files/lib')
-rw-r--r--apps/files/lib/Controller/ViewController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/lib/Controller/ViewController.php b/apps/files/lib/Controller/ViewController.php
index 15d9334ed9e..4035837459a 100644
--- a/apps/files/lib/Controller/ViewController.php
+++ b/apps/files/lib/Controller/ViewController.php
@@ -184,7 +184,7 @@ class ViewController extends Controller {
foreach ($favElements['folders'] as $elem) {
$id = substr($elem, strrpos($elem, '/') + 1, strlen($elem));
- $link = $this->urlGenerator->linkToRouteAbsolute('files.view.index', ['dir' => $elem]);
+ $link = $this->urlGenerator->linkToRoute('files.view.index', ['dir' => $elem, 'view' => 'files']);
$sortingValue = ++$currentCount;
$element = [