fixing Undefined index: publicUploadEnabled

This commit is contained in:
Thomas Müller 2013-07-12 17:51:01 +02:00
parent 5f5700e353
commit c3e16a7388
1 changed files with 1 additions and 0 deletions

View File

@ -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));