From 26bf9333b0b5d2a1127a7a535b90cfe006987bbb 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 Signed-off-by: Harold Dramer --- acqui/addorder.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acqui/addorder.pl b/acqui/addorder.pl index 5500a21..aa5baf5 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.7.10.4