From 62660496faa5362631d82ccd5ca16fb4cf95adb0 Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Mon, 24 Aug 2015 15:30:37 +0200 Subject: [PATCH] Bug 11844: Fix additional field values when creating a new order line ordernumber was not correctly retrieved --- acqui/addorder.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acqui/addorder.pl b/acqui/addorder.pl index d9e563c..c14eb00 100755 --- a/acqui/addorder.pl +++ b/acqui/addorder.pl @@ -285,7 +285,7 @@ if ( $orderinfo->{quantity} ne '0' ) { foreach my $af (@$additional_fields) { my $id = $af->{id}; my $value = $input->param("additional_field_$id"); - $af->{values}->{$orderinfo->{ordernumber}} = $value; + $af->{values}->{$order->{ordernumber}} = $value; $af->insert_values; # Save value in biblio record, if marcfield is set -- 1.9.1