Merge pull request #25957 from nextcloud/backport/25932/stable19

[stable19] Skip empty obsolete owner when adding to own NC
This commit is contained in:
Roeland Jago Douma 2021-03-06 10:54:10 +01:00 committed by GitHub
commit e73ea889ab
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 || '';