From bd71767fcc0df1776092102c1a159d609b8d5efb Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 18 Jul 2022 15:10:02 +0200 Subject: [PATCH] Bug 30718: Fix serials/showpredictionpattern.pl Can't locate object method "ymd" via package "2022-02-01" (perhaps you forgot to load "2022-02-01"?) at /kohadevbox/koha/serials/showpredictionpattern.pl line 100 eval {...} at /kohadevbox/koha/serials/showpredictionpattern.pl line 2 Signed-off-by: Victor Grousset/tuxayo Signed-off-by: Marcel de Rooy Signed-off-by: Tomas Cohen Arazi --- serials/showpredictionpattern.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serials/showpredictionpattern.pl b/serials/showpredictionpattern.pl index e4fe56781a..e553ee1269 100755 --- a/serials/showpredictionpattern.pl +++ b/serials/showpredictionpattern.pl @@ -107,7 +107,7 @@ my %subscription = ( innerloop3 => scalar $input->param('innerloop3') // '', irregularity => '', countissuesperunit => 1, - firstacquidate => $firstacquidate->ymd, + firstacquidate => $firstacquidate, ); my $issuenumber; -- 2.39.5