summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2014-11-25 15:45:27 +0100
committerMorris Jobke <hey@morrisjobke.de>2014-11-25 15:45:27 +0100
commit161e58b1a201fefb710b3b7adf8bc3c7462d8bf5 (patch)
tree85c7b8b18ce4b494d0b988a3c4b1e1a49c552b52
parentd815638f7b086fad627dbbd22c10a068acfcae6c (diff)
parent32a90911b0d99c009d077eddbbdda4599db30073 (diff)
downloadnextcloud-server-161e58b1a201fefb710b3b7adf8bc3c7462d8bf5.tar.gz
nextcloud-server-161e58b1a201fefb710b3b7adf8bc3c7462d8bf5.zip
Merge pull request #12415 from owncloud/port-12262
Backport #12262
-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 8794e4a69d4..1145b2ce2a9 100644
--- a/apps/files_sharing/public.php
+++ b/apps/files_sharing/public.php
@@ -174,7 +174,7 @@ if (isset($path)) {
$tmpl->assign('downloadURL',
OCP\Util::linkToPublic('files') . $urlLinkIdentifiers . '&download&path=' . urlencode($getPath));
} else {
- $tmpl->assign('dir', $dir);
+ $tmpl->assign('dir', '');
// Show file preview if viewer is available
if ($type == 'file') {