Browse Source

Merge pull request #644 from albig/3.2.x-fix-638

Merge pull request #642 from albig/fix-638
3.2.x
Alexander Bigga 4 months ago
committed by GitHub
parent
commit
c29947b6fd
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Classes/Plugin/OaiPmh.php

2
Classes/Plugin/OaiPmh.php

@ -438,7 +438,7 @@ class OaiPmh extends \Kitodo\Dlf\Common\AbstractPlugin
$allResults = $result->fetchAll();
if (count($allResults) > 1) {
if (count($allResults) < 1) {
// No resumption token found or resumption token expired.
return $this->error('badResumptionToken');
}

Loading…
Cancel
Save