From 3ab67090aabf3bd0b9f4e34fb62d6b6605e1e598 Mon Sep 17 00:00:00 2001 From: Alex Arnaud Date: Thu, 27 Aug 2015 14:28:50 +0200 Subject: [PATCH] [SIGNED-OFF] Bug 12252: (follow-up) Fix error raised on comment 69 http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12252#c69 Signed-off-by: Gaetan Boisson --- opac/oai.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opac/oai.pl b/opac/oai.pl index 6620846..7f49f47 100755 --- a/opac/oai.pl +++ b/opac/oai.pl @@ -334,7 +334,7 @@ sub new { # We fetch it using this method, rather than the database directly, # so it'll include the item data my $marcxml; - $marcxml = $repository->get_biblio_marcxml->($biblionumber, $args{metadataPrefix}) + $marcxml = $repository->get_biblio_marcxml($biblionumber, $args{metadataPrefix}) unless $deleted; my $oai_sets = GetOAISetsBiblio($biblionumber); my @setSpecs; -- 2.1.4