Skip to content

Commit

Permalink
Merge pull request #472 from nicolas-eoxia/fix_forcebuilddoc
Browse files Browse the repository at this point in the history
#471 [Session] fix: better forcebuild doc
  • Loading branch information
nicolas-eoxia authored Dec 22, 2023
2 parents e8b7a98 + 0c0b0a2 commit 8885d0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion view/session/session_card.php
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@
}
$fileList = [];
foreach ($documentTypeArray as $documentTypeName) {
$fileList = array_merge($fileList, dol_dir_list($upload_dir . '/' . $documentTypeName . 'document' . '/' . $ref, 'files', 0, '(\.pdf)', '', 'date', SORT_DESC));
$fileList = array_merge($fileList, dol_dir_list($upload_dir . '/' . $documentTypeName . 'document' . '/' . $object->ref, 'files', 0, '', '', 'date', SORT_DESC));
}
if (!empty($fileList)) {
$fileType = ['attendancesheetdocument' => 0, 'completioncertificatedocument' => 0];
Expand Down

0 comments on commit 8885d0d

Please sign in to comment.