Skip to content

Commit

Permalink
pkp/pkp-lib#10046 use AppLocale for CCLicense
Browse files Browse the repository at this point in the history
  • Loading branch information
kaitlinnewson committed Oct 1, 2024
1 parent 39b7028 commit 7b09f62
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ function createProductNode($doc, $submission, $publicationFormat) {
$pubLocale = $publication->getData('locale');

if ($publication->isCCLicense()) {
PKPLocale::requireComponents(LOCALE_COMPONENT_PKP_SUBMISSION, $pubLocale); // For CC License Names
AppLocale::requireComponents(LOCALE_COMPONENT_PKP_SUBMISSION, $pubLocale); // For CC License Names
$licenseOpts = Application::getCCLicenseOptions();
$licenseUrl = $publication->getData('licenseUrl');
if (array_key_exists($licenseUrl, $licenseOpts)) {
Expand Down

0 comments on commit 7b09f62

Please sign in to comment.