Skip to content
Snippets Groups Projects
Commit a97cdc2a authored by Alexandre Morin's avatar Alexandre Morin
Browse files

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

parents e5c692cc 4d647d07
No related branches found
No related tags found
No related merge requests found
......@@ -237,7 +237,7 @@ class VisaController
$pathToFind = $value['path'] . str_replace(strrchr($value['filename'], '.'), '.pdf', $value['filename']);
$isConverted = false;
foreach ($attachments as $tmpKey => $tmpValue) {
if (strpos($value['format'], 'xl') !== 0 && $tmpValue['attachment_type'] == 'converted_pdf' && ($tmpValue['path'] . $tmpValue['filename'] == $pathToFind)) {
if (strpos($value['format'], 'xl') !== 0 && $value['format'] != 'pptx' && $tmpValue['attachment_type'] == 'converted_pdf' && ($tmpValue['path'] . $tmpValue['filename'] == $pathToFind)) {
if ($value['status'] != 'SIGN') {
$viewerId = $tmpValue['res_id'];
}
......
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