Skip to content
Snippets Groups Projects
Verified Commit be694611 authored by Damien's avatar Damien
Browse files

FIX #15116 TIME 0:20 Fix available ressources name

parent 14592fa4
No related branches found
No related tags found
No related merge requests found
......@@ -503,7 +503,7 @@ class PreProcessActionController
$additionalsInfos['noAttachment'][] = ['alt_identifier' => $noAttachmentsResource['alt_identifier'], 'res_id' => $resId, 'reason' => 'fileDoesNotExists'];
break;
}
$availableResources[] = ['resId' => $resId, 'subject' => $integratedResource['subject'], 'chrono' => $integratedResource['alt_identifier'], 'mainDocument' => true];
$availableResources[] = ['resId' => $resId, 'subject' => $integratedResource[0]['subject'], 'chrono' => $integratedResource[0]['alt_identifier'], 'mainDocument' => true];
}
if (!$hasSignableAttachment && empty($integratedResource)) {
$additionalsInfos['noAttachment'][] = ['alt_identifier' => $noAttachmentsResource['alt_identifier'], 'res_id' => $resId, 'reason' => 'noSignableAttachmentInSignatoryBook'];
......
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