From 23c642670658bdbe3d0275651bae07cec29003de 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 --- 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.45.0