From 129ffee791da9f8ab4ad85a4473a138fc81ccbef Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 15 Jan 2018 10:10:41 -0300 Subject: [PATCH] Bug 19968: Add missing use Date::Calc statement It has been reported than the missing use statement can cause a compilation error: Undefined subroutine &Date::Calc::Today called at /usr/share/koha/intranet/cgi-bin/cataloguing/value_builder/unimarc_field_100.pl line 75. Test plan: Use this UNIMARC plugin and make sure it fixes the error or at least does not break it Signed-off-by: Marcel de Rooy Signed-off-by: Jonathan Druart --- cataloguing/value_builder/unimarc_field_100.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/cataloguing/value_builder/unimarc_field_100.pl b/cataloguing/value_builder/unimarc_field_100.pl index 3f936a4dbd..99798e6714 100755 --- a/cataloguing/value_builder/unimarc_field_100.pl +++ b/cataloguing/value_builder/unimarc_field_100.pl @@ -20,6 +20,7 @@ use strict; #use warnings; FIXME - Bug 2505 +use Date::Calc qw( Today ); use Koha::Util::FrameworkPlugin qw(wrapper); use C4::Auth; -- 2.39.5