bookcount.pl: Illegal Date 'Item has no branch transfers record' does not match 'iso' format: yyyy-mm-dd at /home/mason/git/kap-k3-2/circ/bookcount.pl line 88
tested on 3.0.x
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
use C4::Context;
use C4::Circulation;
use C4::Output;
use C4::Context;
use C4::Circulation;
use C4::Output;
my $lastdate;
my $count;
if ( not $lastmove ) {
my $lastdate;
my $count;
if ( not $lastmove ) {
$count = issuessince( $itm, 0 );
}
else {
$count = issuessince( $itm, 0 );
}
else {
push( @branchloop, \%linebranch );
}
push( @branchloop, \%linebranch );
}
$template->param(
biblionumber => $biblionumber,
title => $data->{'title'},
$template->param(
biblionumber => $biblionumber,
title => $data->{'title'},
biblioitemnumber => $bi,
homebranch => $homebranch,
holdingbranch => $holdingbranch,
biblioitemnumber => $bi,
homebranch => $homebranch,
holdingbranch => $holdingbranch,
- lastdate => format_date($lastdate),
+ lastdate => $lastdate ? format_date($lastdate) : $message,
count => $count,
branchloop => \@branchloop,
);
count => $count,
branchloop => \@branchloop,
);