Skip to content
Snippets Groups Projects
Verified Commit aec85ee1 authored by Damien's avatar Damien
Browse files

FEAT #13678 TIME 0:15 Fix typist

parent b945cf5e
No related branches found
No related tags found
No related merge requests found
...@@ -132,7 +132,7 @@ class AttachmentController ...@@ -132,7 +132,7 @@ class AttachmentController
]); ]);
if (!empty($signedResponse[0])) { if (!empty($signedResponse[0])) {
$attachment['signedResponse'] = $signedResponse[0]['res_id']; $attachment['signedResponse'] = $signedResponse[0]['res_id'];
$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'];
} }
} }
...@@ -308,7 +308,7 @@ class AttachmentController ...@@ -308,7 +308,7 @@ class AttachmentController
'data' => ["{$attachment['resId']},res_attachments", ['DEL']] 'data' => ["{$attachment['resId']},res_attachments", ['DEL']]
]); ]);
if (!empty($signedResponse[0])) { if (!empty($signedResponse[0])) {
$attachments[$key]['signatory'] = UserModel::getLabelledUserById(['login' => $signedResponse[0]['typist']]); $attachments[$key]['signatory'] = UserModel::getLabelledUserById(['id' => $signedResponse[0]['typist']]);
$attachments[$key]['signDate'] = $signedResponse[0]['creation_date']; $attachments[$key]['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