From dc124d3d52af0a6b078299df398ed25842e05d15 Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Mon, 6 May 2024 12:08:02 +0200 Subject: [PATCH] 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 Signed-off-by: Katrin Fischer (cherry picked from commit 18ac387e6a706019bc5a6c9fadf266eb2b4bf05d) Signed-off-by: Fridolin Somers (cherry picked from commit 76d5c1373240764fc80777beb053465d9687cc04) Signed-off-by: Lucas Gass --- misc/cronjobs/staticfines.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/cronjobs/staticfines.pl b/misc/cronjobs/staticfines.pl index 2ccb1fb283..208cc8a204 100755 --- a/misc/cronjobs/staticfines.pl +++ b/misc/cronjobs/staticfines.pl @@ -36,7 +36,7 @@ use C4::Calendar qw(); # don't need any exports from Calendar use C4::Log qw( cronlogaction ); use Getopt::Long qw( GetOptions ); use List::MoreUtils qw( none ); -use Koha::DateUtils qw( dt_from_string ); +use Koha::DateUtils qw( dt_from_string output_pref ); use Koha::Patrons; my $help = 0; -- 2.39.5