Bug 17807: [Follow-up] Use marcxml for marc21 prefix

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>
This commit is contained in:
Marcel de Rooy 2017-06-06 13:31:29 +02:00 committed by Jonathan Druart
parent 6719eee83a
commit 921e39a7ae
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ sub new {
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') . "'"
};