@@ -, +, @@ - Link a subfield to the plugin - usually it's 952$i or the UNIMARC equivalent in your MARC frameworks - Create a new item, set the inventory number to: A 0000000002 - Start to catalog another item, enter A into inventory and - Enter A as stocknumber and activate the plugin by clicking on ... at the end of the field - The number will not get added - Firebug shows an error: Undefined subroutine CGI::output_html_with_http_headers - Apply patch - Verify numbers are now generated and no errors are shown --- cataloguing/value_builder/stocknumberam123.pl | 1 + 1 file changed, 1 insertion(+) --- a/cataloguing/value_builder/stocknumberam123.pl +++ a/cataloguing/value_builder/stocknumberam123.pl @@ -22,6 +22,7 @@ use warnings; use C4::Auth; use CGI qw ( -utf8 ); use C4::Context; +use C4::Output; =head1 DESCRIPTION --