From 5724a30662ec322ff3fd03027bdb05060fbec22b Mon Sep 17 00:00:00 2001 From: kados Date: Mon, 6 Mar 2006 03:40:44 +0000 Subject: [PATCH] removing char_decode calls --- acqui.simple/addbiblio.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/acqui.simple/addbiblio.pl b/acqui.simple/addbiblio.pl index e07b8696f5..f484afc18d 100755 --- a/acqui.simple/addbiblio.pl +++ b/acqui.simple/addbiblio.pl @@ -65,7 +65,7 @@ sub find_value { my @subfields = $field->subfields(); foreach my $subfield (@subfields) { if (@$subfield[0] eq $insubfield) { - push @result,char_decode(@$subfield[1],$encoding); + push @result,@$subfield[1]; $indicator = $field->indicator(1).$field->indicator(2); } } @@ -247,7 +247,7 @@ sub build_tabs ($$$$) { } next if ($tagslib->{$tag}->{$subfield}->{tab} ne $tabloop); next if ($tagslib->{$tag}->{$subfield}->{kohafield} eq 'biblio.biblionumber'); - push(@subfields_data, &create_input($tag,$subfield,char_decode($value,$encoding),$i,$tabloop,$record,$authorised_values_sth)); + push(@subfields_data, &create_input($tag,$subfield,$value,$i,$tabloop,$record,$authorised_values_sth)); $i++; } else { my @subfields=$field->subfields(); @@ -256,7 +256,7 @@ sub build_tabs ($$$$) { my $value=$subfields[$subfieldcount][1]; next if (length $subfield !=1); next if ($tagslib->{$tag}->{$subfield}->{tab} ne $tabloop); - push(@subfields_data, &create_input($tag,$subfield,char_decode($value,$encoding),$i,$tabloop,$record,$authorised_values_sth)); + push(@subfields_data, &create_input($tag,$subfield,$value,$i,$tabloop,$record,$authorised_values_sth)); $i++; } } -- 2.39.5