Bug 14660: Fix 3 other cataloguing plugins
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 19 Aug 2015 08:12:04 +0000 (09:12 +0100)
committerTomas Cohen Arazi <tomascohen@unc.edu.ar>
Thu, 20 Aug 2015 16:40:56 +0000 (13:40 -0300)
These 3 should use C4::Output not to explode.

Test plan:
Link the plugins with the correct fields
They should not log an error when calling them

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
cataloguing/value_builder/callnumber-KU.pl
cataloguing/value_builder/callnumber.pl
cataloguing/value_builder/unimarc_field_010.pl

index 2ec3ba3..8394da0 100755 (executable)
@@ -22,6 +22,7 @@ use warnings;
 use C4::Auth;
 use CGI qw ( -utf8 );
 use C4::Context;
+use C4::Output;
 
 =head1 DESCRIPTION
 
index dd8a62b..9d69f27 100755 (executable)
@@ -22,6 +22,7 @@ use warnings;
 use C4::Auth;
 use CGI qw ( -utf8 );
 use C4::Context;
+use C4::Output;
 
 =head1 DESCRIPTION
 
index b913ab4..1df7e80 100755 (executable)
@@ -23,6 +23,7 @@ use warnings;
 use C4::Auth;
 use CGI qw ( -utf8 );
 use C4::Context;
+use C4::Output;
 
 
 sub plugin_javascript {