From aa520ecd39015a492a0ce2f1a1142394c21372c4 Mon Sep 17 00:00:00 2001 From: Alex Arnaud Date: Thu, 27 Aug 2015 14:28:50 +0200 Subject: [PATCH] Bug 12252: (follow-up) Include item data only in extended mode Fix perlcritic error. Signed-off-by: Signed-off-by: Gaetan Boisson Signed-off-by: Jonathan Druart --- opac/oai.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opac/oai.pl b/opac/oai.pl index 875801b..9bf11b5 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.0