From 5659a0365c0acfa5811728a0bf1e8bce52492f20 Mon Sep 17 00:00:00 2001 From: Steven Callender Date: Tue, 30 Aug 2011 15:19:23 -0400 Subject: [PATCH 1/2] 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 --- opac/opac-export.pl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/opac/opac-export.pl b/opac/opac-export.pl index d24ddb2..41bf81a 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); -- 1.7.4.1