diff options
author | Julius Härtl <jus@bitgrid.net> | 2021-05-17 12:57:33 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2021-05-17 12:57:33 +0300 |
commit | 4bdc41b4b28f009039a541975cdf0cc706632d41 (patch) | |
tree | 90064adbbcc6c63db5468904e2ba037c2671bf61 /lib | |
parent | 41bfb5a7c8c14c084b420481f6e01de56d518852 (diff) |
Only use owner id if not a remote Token
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Controller/WopiController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/WopiController.php b/lib/Controller/WopiController.php index 4634b0b2..eb0e6ff2 100644 --- a/lib/Controller/WopiController.php +++ b/lib/Controller/WopiController.php @@ -555,7 +555,7 @@ class WopiController extends Controller { // Unless the editor is empty (public link) we modify the files as the current editor $editor = $wopi->getEditorUid(); - if ($editor === null || !$wopi->isRemoteToken()) { + if ($editor === null && !$wopi->isRemoteToken()) { $editor = $wopi->getOwnerUid(); } |