Skip to content
Snippets Groups Projects
Commit 6a526119 authored by Alex ORLUC's avatar Alex ORLUC
Browse files

Merge branch 'develop' of labs.maarch.org:maarch/MaarchCourrier into develop

parents 169ef7cf b43a3371
No related branches found
No related tags found
No related merge requests found
......@@ -293,6 +293,10 @@ class VisaController
$attachments[$key]['sign'] = $attachmentTypes[$value['attachment_type']]['sign'];
$attachments[$key]['thumbnailLink'] = "index.php?page=doc_thumb&module=thumbnails&res_id={$realId}&coll_id={$collId}&display=true&advanced=true";
if(!in_array(strtoupper($value['format']), ['PDF', 'JPG', 'JPEG', 'PNG', 'GIF']) ){
$isVersion = 'false';
}
$attachments[$key]['viewerLink'] = "index.php?display=true&module=attachments&page=view_attachment&res_id_master={$aArgs['resId']}&id={$viewerId}&isVersion={$isVersion}";
}
......
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