Modifying AddBiblio in order to fix some encoding bugs we had when modifying or addin...
authorHenri-Damien LAURENT <henridamien@koha-fr.org>
Mon, 20 Aug 2007 13:45:58 +0000 (15:45 +0200)
committerChris Cormack <crc@liblime.com>
Mon, 20 Aug 2007 20:16:40 +0000 (15:16 -0500)
Signed-off-by: Chris Cormack <crc@liblime.com>
C4/Biblio.pm

index 38b5a39..05527c8 100644 (file)
@@ -3863,7 +3863,7 @@ sub ModBiblioMarc {
     $sth =
       $dbh->prepare(
         "update biblioitems set marc=?,marcxml=?  where biblionumber=?");
-    $sth->execute( $record->as_usmarc(), $record->as_xml_record(),
+    $sth->execute( $record->as_usmarc(), $record->as_xml_record($encoding),
         $biblionumber );
     $sth->finish;
     return $biblionumber;