Skip to content
Snippets Groups Projects
Commit 7e48d880 authored by Damien's avatar Damien
Browse files

FIX sign when version attachments

parent fde17ba0
No related branches found
No related tags found
No related merge requests found
......@@ -249,7 +249,7 @@ class VisaController
if ($value['status'] == 'SIGN' && $tmpValue['attachment_type'] == 'signed_response' && !empty($tmpValue['origin'])) {
$signDaddy = explode(',', $tmpValue['origin']);
if (($signDaddy[0] == $value['res_id'] && $signDaddy[1] == "res_attachments")
|| ($signDaddy[0] == $value['res_id_version'] && $signDaddy[1] == "res_version_attachments")
|| ($signDaddy[0] == $value['res_id_version'] && $signDaddy[1] == "res_attachments")
) {
$viewerId = $tmpValue['res_id'];
unset($attachments[$tmpKey]);
......
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