[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/cataloguing addbiblio.pl
From: |
Joshua Ferraro |
Subject: |
[Koha-cvs] koha/cataloguing addbiblio.pl |
Date: |
Fri, 10 Mar 2006 02:43:13 +0000 |
CVSROOT: /sources/koha
Module name: koha
Branch:
Changes by: Joshua Ferraro <address@hidden> 06/03/10 02:43:13
Modified files:
cataloguing : addbiblio.pl
Log message:
syncing with rel_2_2
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha/cataloguing/addbiblio.pl.diff?tr1=1.10&tr2=1.11&r1=text&r2=text
Patches:
Index: koha/cataloguing/addbiblio.pl
diff -u koha/cataloguing/addbiblio.pl:1.10 koha/cataloguing/addbiblio.pl:1.11
--- koha/cataloguing/addbiblio.pl:1.10 Tue Mar 7 23:37:48 2006
+++ koha/cataloguing/addbiblio.pl Fri Mar 10 02:43:13 2006
@@ -1,6 +1,6 @@
#!/usr/bin/perl
-# $Id: addbiblio.pl,v 1.10 2006/03/07 23:37:48 rangi Exp $
+# $Id: addbiblio.pl,v 1.11 2006/03/10 02:43:13 kados Exp $
# Copyright 2000-2002 Katipo Communications
#
@@ -497,7 +497,9 @@
{
$biblionumber= "";
}
-
+ #FIXME: it's kind of silly to go from MARC::Record to MARC::File::XML
and then back again just to fix the encoding
+ my $uxml = $record->as_xml;
+ my $urecord = MARC::Record::new_from_xml($uxml, 'UTF-8');
build_tabs ($template, $record, $dbh,$encoding);
build_hidden_data;
$template->param(