mirror of
https://github.com/nextcloud/server.git
synced 2026-04-27 01:00:20 -04:00
fixing check if public share is a folder or not
This commit is contained in:
parent
98da4bf704
commit
c956a08d22
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue