just reindent
This commit is contained in:
parent
93e1d66f3c
commit
4843b7e49c
1 changed files with 2 additions and 2 deletions
|
@ -1137,8 +1137,8 @@ sub FixEncoding {
|
||||||
foreach my $subfield ($field->subfields()){
|
foreach my $subfield ($field->subfields()){
|
||||||
if ($createdfield){
|
if ($createdfield){
|
||||||
if (($newField->tag eq '100')) {
|
if (($newField->tag eq '100')) {
|
||||||
substr($subfield->[1],26,2,"0103") if ($targetcharset eq "latin1");
|
substr($subfield->[1],26,2,"0103") if ($targetcharset eq "latin1");
|
||||||
substr($subfield->[1],26,4,"5050") if ($targetcharset eq "utf8");
|
substr($subfield->[1],26,4,"5050") if ($targetcharset eq "utf8");
|
||||||
}
|
}
|
||||||
map {C4::Biblio::char_decode($_,"UNIMARC")} @$subfield;
|
map {C4::Biblio::char_decode($_,"UNIMARC")} @$subfield;
|
||||||
$newField->add_subfields($subfield->[0]=>$subfield->[1]);
|
$newField->add_subfields($subfield->[0]=>$subfield->[1]);
|
||||||
|
|
Loading…
Reference in a new issue