aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/legacy
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2018-06-21 10:09:20 +0200
committerGitHub <noreply@github.com>2018-06-21 10:09:20 +0200
commit8ebc3d90a0876d243c889108f3a95219c0863458 (patch)
treea7fce3b4416ab1c86f1704b67fedd72555c9b348 /lib/private/legacy
parentf9c98d86212f14b006fdf99251e35093d5026e80 (diff)
parenta596b062f520469ca52eed10a407fc4cf8891239 (diff)
downloadnextcloud-server-8ebc3d90a0876d243c889108f3a95219c0863458.tar.gz
nextcloud-server-8ebc3d90a0876d243c889108f3a95219c0863458.zip
Merge pull request #9518 from nextcloud/feature/5986/public_share_controller_middleware
Public share middleware & controller
Diffstat (limited to 'lib/private/legacy')
-rw-r--r--lib/private/legacy/template/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/legacy/template/functions.php b/lib/private/legacy/template/functions.php
index 290ffe120a3..55d3a595689 100644
--- a/lib/private/legacy/template/functions.php
+++ b/lib/private/legacy/template/functions.php
@@ -262,7 +262,7 @@ function preview_icon( $path ) {
* @return string
*/
function publicPreview_icon ( $path, $token ) {
- return \OC::$server->getURLGenerator()->linkToRoute('files_sharing.PublicPreview.getPreview', ['x' => 32, 'y' => 32, 'file' => $path, 't' => $token]);
+ return \OC::$server->getURLGenerator()->linkToRoute('files_sharing.PublicPreview.getPreview', ['x' => 32, 'y' => 32, 'file' => $path, 'token' => $token]);
}
/**