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:
parent
62621825e5
commit
22aa99917f
1 changed files with 1 additions and 1 deletions
|
@ -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}";
|
||||
|
|
Loading…
Reference in a new issue