some perl lines

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

some perl lines

Wojciech Zatorski
Hello koha,

why are this lines in koha code? (OPAC/opac-MARCdetail.pl)

if ($fields[$x_i]->tag() eq $fields[$x_i-1]->tag()) {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ????
 $tag_data{tag}="";
} else {
$tag_data{tag}=$fields[$x_i]->tag().' -'. $tagslib->{$fields[$x_i]->tag()}->{lib};
}

because this lines of marc display are incorrect with marc standards (for example field 650)...

and i find small bug in /usr/share/perl5/5.8.7/CGI.pm when you using
utf-8:

$toencode =~ s{\x9b}{›}gso;

this line corrupt polish utf-8 S letter

bye

--
<[hidden email]>
tel. +48 509-855-239; GG: 1500861; Skype: zatorski
http://www.Zatorski.Net
--
Actions speak louder than words.



_______________________________________________
Koha-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/koha-devel