Skip to content

Commit

Permalink
Merge pull request #1025 from nextcloud/fix/noid/fix-keys
Browse files Browse the repository at this point in the history
fix array key on import()
  • Loading branch information
ArtificialOwl authored Apr 21, 2022
2 parents 820883b + b16c73f commit ef00258
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Model/ShareWrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -732,8 +732,8 @@ public function import(array $data): IDeserializable {
->setFileSource($this->getInt('fileSource', $data))
->setFileTarget($this->get('fileTarget', $data))
->setSharedWith($this->get('sharedWith', $data))
->setSharedBy($this->get('uidInitiator', $data))
->setShareOwner($this->get('uidOwner', $data))
->setSharedBy($this->get('sharedBy', $data))
->setShareOwner($this->get('shareOwner', $data))
->setToken($this->get('token', $data))
->setShareTime($shareTime);

Expand Down

0 comments on commit ef00258

Please sign in to comment.