<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-2" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8">
<title></title>
<meta name="GENERATOR" content="OpenOffice.ux.pl 2.4.1 (Linux)">
<style type="text/css">
        <!--
                @page { size: 21cm 29.7cm; margin: 2cm }
                P { margin-bottom: 0.21cm }
        -->
        </style>
<p style="margin-bottom: 0cm;">Dear Koha Developers,</p>
<p style="margin-bottom: 0cm;"><br>
I have noticed that Koha (probably)
never displays “0” subfields in librarian MARC view (of course the
subfield
is not empty nor hidden and it is active). It is probably because of
the
line:</p>
<p style="margin-bottom: 0cm;"><br>
$subf[$i][0] = "@" unless
$subf[$i][0];</p>
<p style="margin-bottom: 0cm;"><br>
(line 165 of MARCdetail.pl). (A similar
situation in case of line 134 of opac-MARCdetail.pl.)</p>
<p style="margin-bottom: 0cm;"><br>
Isn't it a bug? Shouldn't the line be
like:</p>
<p style="margin-bottom: 0cm;"><br>
$subf[$i][0] = "@" unless
$subf[$i][0] ne “”; ?</p>
<p style="margin-bottom: 0cm;"><br>
But even if, what is the line for? If
the subfield code is changed then probably the subsequent line will
cause a 'next'...</p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;">Regards,</p>
<p style="margin-bottom: 0cm;">Janusz Kaczmarek</p>
</body>
</html>