diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-07-12 17:51:01 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-07-12 17:51:01 +0200 |
commit | c3e16a73883c967934abfa8dd5565b862df3489c (patch) | |
tree | 14ea7e2da5e20e55a42e5dee194c4329ad2b688b /apps/files_sharing | |
parent | 5f5700e3538932b9688d9120adfe7f21db98f28a (diff) | |
download | nextcloud-server-c3e16a73883c967934abfa8dd5565b862df3489c.tar.gz nextcloud-server-c3e16a73883c967934abfa8dd5565b862df3489c.zip |
fixing Undefined index: publicUploadEnabled
Diffstat (limited to 'apps/files_sharing')
-rw-r--r-- | apps/files_sharing/public.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_sharing/public.php b/apps/files_sharing/public.php index 9462844a82b..695c00e5541 100644 --- a/apps/files_sharing/public.php +++ b/apps/files_sharing/public.php @@ -202,6 +202,7 @@ if (isset($path)) { $folder->assign('isCreatable', false); $folder->assign('permissions', OCP\PERMISSION_READ); $folder->assign('isPublic',true); + $folder->assign('publicUploadEnabled', true); $folder->assign('files', $files); $folder->assign('uploadMaxFilesize', $maxUploadFilesize); $folder->assign('uploadMaxHumanFilesize', OCP\Util::humanFileSize($maxUploadFilesize)); |