fixing check if public share is a folder or not

remotes/origin/stable6
Thomas Müller 12 years ago
parent 98da4bf704
commit c956a08d22
  1. 2
      apps/files_sharing/public.php

@ -137,7 +137,7 @@ if (isset($path)) {
if (\OCP\App::isEnabled('files_encryption')) {
$allowPublicUploadEnabled = false;
}
if (isset($file)) {
if ($linkItem['item_type'] !== 'folder') {
$allowPublicUploadEnabled = false;
}
$tmpl->assign('allowPublicUploadEnabled', $allowPublicUploadEnabled);

Loading…
Cancel
Save