Bug 36787: staticfines.pl add use Koha::DateUtils::output_pref

misc/cronjobs/staticfines.pl is calling output_pref() but it is missing from module import :
use Koha::DateUtils qw( dt_from_string );

Test but running staticfines.pl

Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Fridolin Somers 2024-05-06 12:08:02 +02:00 committed by Katrin Fischer
parent 6d0d585c14
commit 18ac387e6a
Signed by: kfischer
GPG key ID: 0EF6E2C03357A834

View file

@ -36,7 +36,7 @@ use C4::Calendar qw(); # don't need any exports from Calendar
use C4::Log qw( cronlogaction ); use C4::Log qw( cronlogaction );
use Getopt::Long qw( GetOptions ); use Getopt::Long qw( GetOptions );
use List::MoreUtils qw( none ); use List::MoreUtils qw( none );
use Koha::DateUtils qw( dt_from_string ); use Koha::DateUtils qw( dt_from_string output_pref );
use Koha::Patrons; use Koha::Patrons;
my $help = 0; my $help = 0;