Skip to content

Commit

Permalink
Merge branch 'main' into preprod
Browse files Browse the repository at this point in the history
  • Loading branch information
devletech committed Nov 29, 2024
2 parents bcc7460 + aa7e904 commit 9b7855b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/Episciences/Paper.php
Original file line number Diff line number Diff line change
Expand Up @@ -5027,7 +5027,7 @@ public function getClassifications(bool $isSerialized = false): array
$classificationName = $classification['classification_name'];
if ($classificationName !== msc2020::$classificationName || $classificationName !== jel::$classificationName) {
$current = ($classificationName === msc2020::$classificationName) ? new msc2020($classification) : new jel($classification);
$classificationCollection[$classificationName] = !$isSerialized ? $current : $current->jsonSerialize(false);
$classificationCollection[$classificationName][] = !$isSerialized ? $current : $current->jsonSerialize(false);
}
}

Expand Down

0 comments on commit 9b7855b

Please sign in to comment.