Skip to content

Commit

Permalink
#471 [Session] fix: better forcebuild doc
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-eoxia committed Dec 22, 2023
1 parent e8b7a98 commit 0c0b0a2
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 0c0b0a2

Please sign in to comment.