From 7504ceb6f2200b15efa344dd4d4d8bf5c511018a Mon Sep 17 00:00:00 2001 From: Bart Visscher Date: Sat, 14 Apr 2012 11:33:27 +0200 Subject: [PATCH] Sharing: Define missing template vars --- apps/files_sharing/get.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/files_sharing/get.php b/apps/files_sharing/get.php index 3a3db6dd38e..fa3535fd144 100644 --- a/apps/files_sharing/get.php +++ b/apps/files_sharing/get.php @@ -62,6 +62,8 @@ if ($source !== false) { $tmpl->assign("fileList", $list->fetchPage()); $tmpl->assign("breadcrumb", $breadcrumbNav->fetchPage()); $tmpl->assign("readonly", true); + $tmpl->assign("allowZipDownload", false); + $tmpl->assign("dir", 'shared dir'); $tmpl->printPage(); } else { //get time mimetype and set the headers