diff options
author | Antipkin-A <Artem.Antipkin@onlyoffice.com> | 2022-10-05 11:43:43 +0300 |
---|---|---|
committer | Antipkin-A <Artem.Antipkin@onlyoffice.com> | 2022-10-05 11:43:43 +0300 |
commit | ec3942207e5b9b073e483052936fbbe466c3b505 (patch) | |
tree | 38a3e714b153afd404204e3d4135fe42fc949107 | |
parent | 1bb8444594c7d5ff6af19d7238915fe7bcb210dd (diff) |
to take the user from callback when status is editing
-rw-r--r-- | controller/callbackcontroller.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/controller/callbackcontroller.php b/controller/callbackcontroller.php index a83edfa..0d799f2 100644 --- a/controller/callbackcontroller.php +++ b/controller/callbackcontroller.php @@ -460,7 +460,8 @@ class CallbackController extends Controller { $callbackUserId = $hashData->userId; $userId = null; - if (!empty($users)) { + if (!empty($users) + && $status !== self::TrackerStatus_Editing) { // author of the latest changes $userId = $this->parseUserId($users[0]); } else { |