diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2018-06-21 10:09:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-21 10:09:20 +0200 |
commit | 8ebc3d90a0876d243c889108f3a95219c0863458 (patch) | |
tree | a7fce3b4416ab1c86f1704b67fedd72555c9b348 /lib/private/legacy | |
parent | f9c98d86212f14b006fdf99251e35093d5026e80 (diff) | |
parent | a596b062f520469ca52eed10a407fc4cf8891239 (diff) | |
download | nextcloud-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.php | 2 |
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]); } /** |