Bug 8077 - overdues with fines won't run
authorKyle M Hall <kyle@bywatersolutions.com>
Mon, 14 May 2012 12:49:57 +0000 (08:49 -0400)
committerPaul Poulain <paul.poulain@biblibre.com>
Mon, 21 May 2012 16:29:26 +0000 (18:29 +0200)
When I try to run the overdues with fines report I get the following:
Software error:
Undefined subroutine &main::dt_from_string called at
kohaclone/circ/branchoverdues.pl line 116.

Fixed by add a use line for Koha::DateUtils to branchoverdues.pl

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>

circ/branchoverdues.pl

index dc89d60..c81547e 100755 (executable)
@@ -27,6 +27,7 @@ use C4::Biblio;
 use C4::Koha;
 use C4::Debug;
 use C4::Branch;
+use Koha::DateUtils;
 use Data::Dumper;
 
 =head1 branchoverdues.pl