Merge pull request #25932 from nextcloud/bugfix/noid/fix-fed-share-add-to-nc

Skip empty obsolete owner when adding to own NC
This commit is contained in:
Roeland Jago Douma 2021-03-05 14:33:16 +01:00 committed by GitHub
commit c7c5150ddb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@
var fileList = this.filesApp.fileList; var fileList = this.filesApp.fileList;
var params = OC.Util.History.parseUrlQuery(); var params = OC.Util.History.parseUrlQuery();
// manually add server-to-server share // manually add server-to-server share
if (params.remote && params.token && params.owner && params.name) { if (params.remote && params.token && params.name) {
var callbackAddShare = function(result, share) { var callbackAddShare = function(result, share) {
var password = share.password || ''; var password = share.password || '';