Not sure what happened here, but this is an easy fix.
Test plan:
Try oai.pl with marcxml, marc21 and oai_dc again.
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
my $format = $args{metadataPrefix};
my $record_dom;
- if ( $format ne 'marcxml' ) {
+ if ( $format ne 'marcxml' && $format ne 'marc21' ) {
my $args = {
OPACBaseURL => "'" . C4::Context->preference('OPACBaseURL') . "'"
};