From a2a9bc522035c17a24aa48badc5184b015197826 Mon Sep 17 00:00:00 2001 From: Steven Callender Date: Tue, 30 Aug 2011 15:19:23 -0400 Subject: [PATCH] Bug 6822: fix RIS export from OPAC Prior to this patch, RIS export was producing effectively empty output. Signed-off-by: Steven Callender Signed-off-by: Galen Charlton Signed-off-by: Chris Cormack --- opac/opac-export.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opac/opac-export.pl b/opac/opac-export.pl index d24ddb2b1b..41bf81ac44 100755 --- a/opac/opac-export.pl +++ b/opac/opac-export.pl @@ -50,7 +50,7 @@ elsif ($format=~ /mods/) { $marc = marc2modsxml($marc); } elsif ($format =~ /ris/) { - $marc = marc2ris(MARC::Record->new_from_usmarc($marc)); + $marc = marc2ris($marc); } elsif ($format =~ /bibtex/) { $marc = marc2bibtex(C4::Biblio::GetMarcBiblio($biblionumber),$biblionumber); -- 2.39.5