Skip to content

Commit

Permalink
add filename for submission PDF
Browse files Browse the repository at this point in the history
  • Loading branch information
Godoy0722 committed Jul 3, 2024
1 parent e798a7a commit c1721ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/importexport/csv/CSVImportExportPlugin.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,7 @@ function executeCLI($scriptName, &$args) {
$submissionFile->setDateModified(Core::getCurrentDate());
$submissionFile->setData('mimetype', $mimeType);
$submissionFile->setData('fileId', $fileId);
$submissionFile->setData('name', pathinfo($filePath, PATHINFO_FILENAME));

// Assume open access, no price.
$submissionFile->setDirectSalesPrice(0);
Expand Down

0 comments on commit c1721ed

Please sign in to comment.