Skip to content

Commit

Permalink
Merge pull request pkp#10218 from kaitlinnewson/10132-3_4_0
Browse files Browse the repository at this point in the history
pkp#10132 add checkbox for validation in Onix export plugin
  • Loading branch information
bozana authored Jul 17, 2024
2 parents 82ec89f + c0d6d5c commit 40acfd8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/plugins/ImportExportPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ public function getBounceTab($request, $title, $bounceUrl, $bounceParameterArray
}

/**
* Download file given it's name
* Download file given its name
*/
public function downloadExportedFile(string $exportedFileContentNamePart, string $exportedFileDatePart, PKPImportExportDeployment $deployment)
{
Expand All @@ -449,7 +449,7 @@ public function downloadExportedFile(string $exportedFileContentNamePart, string
}

/**
* Create file given it's name and content
* Create file given its name and content
*
* @param ?DateTime $dateFilenamePart
*
Expand Down
4 changes: 4 additions & 0 deletions classes/plugins/importexport/PKPImportExportDeployment.php
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,10 @@ public function export($rootFilter, $exportObjects, $opts = [])

$currentFilter = PKPImportExportFilter::getFilter($rootFilter, $this, $opts);

if (array_key_exists('noValidation', $opts)) {
$currentFilter->setNoValidation($opts['noValidation']);
}

libxml_use_internal_errors(true);
$result = $currentFilter->execute($exportObjects, true);

Expand Down

0 comments on commit 40acfd8

Please sign in to comment.