From 22aa99917fb47265f3cd993b92aa6836769a3edc Mon Sep 17 00:00:00 2001 From: root Date: Wed, 21 Mar 2012 05:57:10 -0500 Subject: [PATCH] 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 --- circ/returns.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/circ/returns.pl b/circ/returns.pl index 3b44b13017..d1aaf0a10b 100755 --- a/circ/returns.pl +++ b/circ/returns.pl @@ -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}"; -- 2.39.5