From cac9fb924bb9df03ce1d5f74ae01a0d2802ba519 Mon Sep 17 00:00:00 2001 From: "florian.azizian" <florian.azizian@maarch.org> Date: Wed, 21 Oct 2020 09:57:03 +0200 Subject: [PATCH] FIX #15121 TIME 0:15 wrong id when retrieve signatory user --- src/app/attachment/controllers/AttachmentController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/attachment/controllers/AttachmentController.php b/src/app/attachment/controllers/AttachmentController.php index 4785f655c0c..0b6cb1cc502 100755 --- a/src/app/attachment/controllers/AttachmentController.php +++ b/src/app/attachment/controllers/AttachmentController.php @@ -137,7 +137,7 @@ class AttachmentController if (!empty($signedResponse[0]['signatory_user_serial_id'])) { $attachment['signatory'] = UserModel::getLabelledUserById(['id' => $signedResponse[0]['signatory_user_serial_id']]); } else { - $attachment['signatory'] = UserModel::getLabelledUserById(['login' => $signedResponse[0]['typist']]); + $attachment['signatory'] = UserModel::getLabelledUserById(['id' => $signedResponse[0]['typist']]); } $attachment['signDate'] = $signedResponse[0]['creation_date']; } -- GitLab