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>
(cherry picked from commit 18ac387e6a)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 76d5c13732)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Fridolin Somers 2024-05-06 12:08:02 +02:00 committed by Lucas Gass
parent 1d2959a93d
commit dc124d3d52

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;