@@ -, +, @@ patron reports --- reports/borrowers_stats.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/reports/borrowers_stats.pl +++ a/reports/borrowers_stats.pl @@ -354,7 +354,7 @@ sub calculate { $sth2->execute(@strparams2); while (my ($celvalue) = $sth2->fetchrow) { my %cell; - if ($celvalue) { + if (defined $celvalue) { $cell{coltitle} = $celvalue; # $cell{coltitle_display} = ($colfield eq 'branchcode') ? $branches->{$celvalue}->{branchname} : $celvalue; $cell{coltitle_display} = $cathash{$celvalue} if ($column eq 'categorycode'); --