From b358dccbea959b111353c8e913defe62f6de3dc4 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 21 Dec 2017 15:59:41 +0000 Subject: [PATCH] Bug 19864: UNIMARC field 100 plugin broken Triggering the UNIMARC plugin for MARC tag 100 results in an error. This patch corrects the error by including the missing subroutine. To test, apply the patch and configure a MARC framework to use the plugin 'unimarc_field_100.pl' for a field. It is not necessary to test on a UNIMARC system. - Open a record for editing. - Click the link to trigger the plugin for the field you configured. - The plugin popup window should load correctly. - Make changes in the form and submit. The configured field should be filled with the correct data. --- 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 3f936a4..881ac61 100755 --- a/cataloguing/value_builder/unimarc_field_100.pl +++ b/cataloguing/value_builder/unimarc_field_100.pl @@ -26,6 +26,7 @@ use C4::Auth; use CGI qw ( -utf8 ); use C4::Context; use C4::Output; +use Date::Calc qw/Today/; sub plugin_javascript { -- 2.1.4