Bugzilla – Attachment 70487 Details for
Bug 19968
Undefined subroutine &Date::Calc::Today
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19968: Add missing use Date::Calc statement
Bug-19968-Add-missing-use-DateCalc-statement.patch (text/plain), 1.04 KB, created by
Jonathan Druart
on 2018-01-15 13:12:05 UTC
(
hide
)
Description:
Bug 19968: Add missing use Date::Calc statement
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-01-15 13:12:05 UTC
Size:
1.04 KB
patch
obsolete
>From 45c123074b767de74239cae89f163c25a25b1acd Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >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 >--- > 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.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 19968
:
70487
|
70488