Sharing: Define missing template vars

remotes/origin/stable4
Bart Visscher 13 years ago
parent 137dce87fc
commit 7504ceb6f2
  1. 2
      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

Loading…
Cancel
Save