Skip to content

Commit

Permalink
fix issue #25
Browse files Browse the repository at this point in the history
  • Loading branch information
ronste committed Aug 27, 2024
1 parent bc0f6c5 commit 65bd7fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filter/DNBXmlFilter.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ function &process(&$pubObject) {
if ($issue->getAccessStatus() == 0 || $issue->getAccessStatus() == ISSUE_ACCESS_OPEN) {
$openAccess = true;
} else if ($issue->getAccessStatus() == ISSUE_ACCESS_SUBSCRIPTION) {
if ($submission->getAccessStatus() == ARTICLE_ACCESS_OPEN) {
if ($submission->getCurrentPublication()->getData('accessStatus') == ARTICLE_ACCESS_OPEN) {
$openAccess = true;
}
}
Expand Down

0 comments on commit 65bd7fc

Please sign in to comment.