Bug 5549 : fixed undefined subroutine format_date in circ/returns.pl by adding full path of C4::Dates::format_date()

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
root 2012-03-21 05:57:10 -05:00 committed by Chris Cormack
parent 62621825e5
commit 22aa99917f

View file

@ -464,7 +464,7 @@ foreach my $code ( keys %$messages ) {
elsif ( $code eq 'Wrongbranch' ) {
}
elsif ( $code eq 'Debarred' ) {
$err{debarred} = format_date( $messages->{'Debarred'} );
$err{debarred} = C4::Dates::format_date( $messages->{'Debarred'} );
$err{debarcardnumber} = $borrower->{cardnumber};
$err{debarborrowernumber} = $borrower->{borrowernumber};
$err{debarname} = "$borrower->{firstname} $borrower->{surname}";