diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2013-10-10 17:23:27 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2013-10-10 17:23:27 +0200 |
commit | 4c2e3919dec7077b00c2df836658dc41338e7d09 (patch) | |
tree | 829249f7df2a490803d5fa1be9aceb55d09448ec /apps/files_versions/lib | |
parent | 92009c5d8eb48d8ea89ab6ee803d8a47a7ff98c0 (diff) | |
download | nextcloud-server-4c2e3919dec7077b00c2df836658dc41338e7d09.tar.gz nextcloud-server-4c2e3919dec7077b00c2df836658dc41338e7d09.zip |
make previews work for shared files in the versions drop-down
Diffstat (limited to 'apps/files_versions/lib')
-rw-r--r-- | apps/files_versions/lib/versions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_versions/lib/versions.php b/apps/files_versions/lib/versions.php index 8151324696f..7d765e28ced 100644 --- a/apps/files_versions/lib/versions.php +++ b/apps/files_versions/lib/versions.php @@ -257,7 +257,7 @@ class Storage { $versions[$key]['cur'] = 0; $versions[$key]['version'] = $version; $versions[$key]['humanReadableTimestamp'] = self::getHumanReadableTimestamp($version); - $versions[$key]['preview'] = \OCP\Util::linkToRoute('core_ajax_versions_preview', array('file' => $filename, 'version' => $version)); + $versions[$key]['preview'] = \OCP\Util::linkToRoute('core_ajax_versions_preview', array('file' => $filename, 'version' => $version, 'user' => $uid)); $versions[$key]['path'] = $filename; $versions[$key]['size'] = $file['size']; } |