From: Srdjan Jankovic <[email protected]> It messes up javascript default values
Signed-off-by: Owen Leonard <[email protected]> --- cataloguing/addbiblio.pl | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/cataloguing/addbiblio.pl b/cataloguing/addbiblio.pl index ba10332..29df4a5 100755 --- a/cataloguing/addbiblio.pl +++ b/cataloguing/addbiblio.pl @@ -1037,10 +1037,7 @@ elsif ( $op eq "delete" ) { $biblionumber = ""; } - if ( $record eq -1 ) { - $record = TransformHtmlToMarc( $input ); - } - else { + if ( $record ne -1 ) { #FIXME: it's kind of silly to go from MARC::Record to MARC::File::XML and then back again just to fix the encoding eval { my $uxml = $record->as_xml; -- 1.7.3 _______________________________________________ Koha-patches mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
