diff options
author | Julius Härtl <jus@bitgrid.net> | 2020-01-27 16:17:36 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2020-01-27 16:17:36 +0300 |
commit | 075c01857b83d4823c1d9a621d68a7e823aed92b (patch) | |
tree | 0c6dd64e17a3185f16b974028950975ad176f546 /lib | |
parent | 4107c1989645c0b6dc268d7a7b1e672080ca0de5 (diff) |
Properly check for a set guest name when obtaining the file
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 cca4607d..6cdb64a7 100644 --- a/lib/Controller/WopiController.php +++ b/lib/Controller/WopiController.php @@ -656,7 +656,7 @@ class WopiController extends Controller { $editor = $wopi->getEditorUid(); // Use the actual file owner no editor is available - if ($editor === null || $wopi->getGuestDisplayname() === null) { + if ($editor === null || $wopi->getGuestDisplayname() !== null) { $editor = $wopi->getOwnerUid(); } |