Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5d1f0690 authored by David A. Velasco's avatar David A. Velasco
Browse files

Merge pull request #73 from owncloud/fix_shared_by_link_for_server_without_uploads

Fix shared by link for server without public uploads
parents ff85ff2e 8f87ad78
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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);
			if (mPublicUpload) {
				post.addParameter(PARAM_PUBLIC_UPLOAD, Boolean.toString(mPublicUpload));
			}
			if (mPassword != null && mPassword.length() > 0) {
				post.addParameter(PARAM_PASSWORD, mPassword);
			}