Merge pull request #25956 from nextcloud/backport/25932/stable20

[stable20] Skip empty obsolete owner when adding to own NC
This commit is contained in:
Roeland Jago Douma 2021-03-06 10:55:08 +01:00 committed by GitHub
commit f78c3f475b
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 params = OC.Util.History.parseUrlQuery();
// 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 password = share.password || '';