Skip to content
Snippets Groups Projects
Commit cac9fb92 authored by Florian Azizian's avatar Florian Azizian
Browse files

FIX #15121 TIME 0:15 wrong id when retrieve signatory user

parent 2f21df74
No related branches found
No related tags found
No related merge requests found
...@@ -137,7 +137,7 @@ class AttachmentController ...@@ -137,7 +137,7 @@ class AttachmentController
if (!empty($signedResponse[0]['signatory_user_serial_id'])) { if (!empty($signedResponse[0]['signatory_user_serial_id'])) {
$attachment['signatory'] = UserModel::getLabelledUserById(['id' => $signedResponse[0]['signatory_user_serial_id']]); $attachment['signatory'] = UserModel::getLabelledUserById(['id' => $signedResponse[0]['signatory_user_serial_id']]);
} else { } else {
$attachment['signatory'] = UserModel::getLabelledUserById(['login' => $signedResponse[0]['typist']]); $attachment['signatory'] = UserModel::getLabelledUserById(['id' => $signedResponse[0]['typist']]);
} }
$attachment['signDate'] = $signedResponse[0]['creation_date']; $attachment['signDate'] = $signedResponse[0]['creation_date'];
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment