From 759eb31cdea98de235827adcb441ce55dc113d91 Mon Sep 17 00:00:00 2001 From: Olli-Antti Kivilahti Date: Fri, 31 Oct 2014 17:11:32 +0200 Subject: [PATCH] Bug 13182 - When placing an order from a staged file, remove dead code THIS IS MADNESS! --- acqui/addorderiso2709.pl | 5 ----- 1 file changed, 5 deletions(-) diff --git a/acqui/addorderiso2709.pl b/acqui/addorderiso2709.pl index 196aab6..1a96e6c 100755 --- a/acqui/addorderiso2709.pl +++ b/acqui/addorderiso2709.pl @@ -283,11 +283,6 @@ if ($op eq ""){ my @serials = $input->param('serial'); my @indicator = $input->param('indicator'); #Passing the imaginary empty " " -indicators from the templates, to stop C4::Biblio::TransformHtmlToXml() to warn the bejesus out of my koha-error.log my @ind_tag = $input->param('ind_tag'); - my $item; #WHAT IS THIS MADNESS?? - push @{ $item->{tags} }, $tags[0]; - push @{ $item->{subfields} }, $subfields[0]; - push @{ $item->{field_values} }, $field_values[0]; - push @{ $item->{ind_tag} }, $ind_tag[0]; my $xml = TransformHtmlToXml( \@tags, \@subfields, \@field_values, \@indicator, \@ind_tag ); my $record = MARC::Record::new_from_xml( $xml, 'UTF-8' ); for (my $qtyloop=1;$qtyloop <= $c_quantity;$qtyloop++) { -- 1.7.9.5