Skip to content

Commit

Permalink
fix array keys on import()
Browse files Browse the repository at this point in the history
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
  • Loading branch information
ArtificialOwl authored and backportbot[bot] committed Apr 21, 2022
1 parent 12d0ce1 commit b1283a9
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 b1283a9

Please sign in to comment.