Skip to content

Commit

Permalink
Bug fix: GetRecord without set specification
Browse files Browse the repository at this point in the history
  • Loading branch information
janreijnders committed Nov 5, 2021
1 parent b7cc93a commit 42c6944
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oai-pmh/oaiserver.php
Expand Up @@ -181,7 +181,7 @@ public function GetRecord()
($this->identifyResponse['deletedRecord'] == 'persistent')));

$cur_record = $this->response->addToVerbNode('record');
$cur_header = $this->response->createHeader($identifier, $datestamp, $set, $cur_record);
$cur_header = $this->response->createHeader($identifier, $datestamp, $cur_record);
if ($status_deleted) {
$cur_header->setAttribute("status", "deleted");
} else {
Expand Down

0 comments on commit 42c6944

Please sign in to comment.