[Koha-patches] [PATCH] bugfixing batchupdateISBN.pl

paul.poulain at biblibre.com paul.poulain at biblibre.com
Tue May 20 18:21:10 CEST 2008


From: Paul POULAIN <paul.poulain at biblibre.com>

pls, someone from MARC21 confirm.
---
 misc/batchupdateISBNs.pl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/misc/batchupdateISBNs.pl b/misc/batchupdateISBNs.pl
index 2752aab..03d5bba 100755
--- a/misc/batchupdateISBNs.pl
+++ b/misc/batchupdateISBNs.pl
@@ -127,7 +127,7 @@ if(not $no_marcxml){
                 }
 	    }
             if($flag){
-                $marcxml = $record->as_xml;
+                $marcxml = $record->as_xml_record('UNIMARC');
                 # Update
                 my $sth = $dbh->prepare($update_marcxml);
                 $sth->execute($marcxml,$biblioitemnumber);
-- 
1.5.3.2




More information about the Koha-patches mailing list