diff --git a/src/app/attachment/controllers/AttachmentController.php b/src/app/attachment/controllers/AttachmentController.php index 1357a3a3233e386b8c86b442eb3e9b3bf0384acd..fa726022d110edf290c4d5cf0a362998d55fb09b 100755 --- a/src/app/attachment/controllers/AttachmentController.php +++ b/src/app/attachment/controllers/AttachmentController.php @@ -184,7 +184,7 @@ class AttachmentController $body['isVersion'] = filter_var($body['isVersion'], FILTER_VALIDATE_BOOLEAN); - $attachment = AttachmentModel::getById(['id' => $aArgs['id'], 'isVersion' => $body['isVersion'], 'select' => ['in_signature_book', 'res_id_master']]); + $attachment = AttachmentModel::getById(['id' => $aArgs['id'], 'isVersion' => $body['isVersion'], 'select' => ['in_send_attach', 'res_id_master']]); if (empty($attachment)) { return $response->withStatus(400)->withJson(['errors' => 'Attachment not found']); }