1
0
mirror of https://github.com/owncloud/android-library.git synced 2026-08-11 16:33:03 +00:00

Merge pull request #73 from owncloud/fix_shared_by_link_for_server_without_uploads

Fix shared by link for server without public uploads
This commit is contained in:
David A. Velasco
2015-06-22 14:53:29 +02:00
@@ -110,7 +110,9 @@ public class CreateRemoteShareOperation extends RemoteOperation {
post.addParameter(PARAM_PATH, mRemoteFilePath);
post.addParameter(PARAM_SHARE_TYPE, Integer.toString(mShareType.getValue()));
post.addParameter(PARAM_SHARE_WITH, mShareWith);
post.addParameter(PARAM_PUBLIC_UPLOAD, Boolean.toString(mPublicUpload));
if (mPublicUpload) {
post.addParameter(PARAM_PUBLIC_UPLOAD, Boolean.toString(mPublicUpload));
}
if (mPassword != null && mPassword.length() > 0) {
post.addParameter(PARAM_PASSWORD, mPassword);
}