From fcc679b82d37021fdb1c60e226b030532d4308b9 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Mon, 3 Jun 2013 10:19:39 +0200 Subject: [PATCH] Bug 8307: QA Followup for finishreceive.pl Content-Type: text/plain; charset=utf-8 Only split the expression a=b on the first = sign. Tested with the very unlikely z=x=1 :) Signed-off-by: Marcel de Rooy --- acqui/finishreceive.pl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/acqui/finishreceive.pl b/acqui/finishreceive.pl index 8318ea8..af851ed 100755 --- a/acqui/finishreceive.pl +++ b/acqui/finishreceive.pl @@ -69,7 +69,7 @@ if ($quantityrec > $origquantityrec ) { for my $in ( @received_items ) { my $item = C4::Items::GetMarcItem( $biblionumber, $in ); for my $affect ( @affects ) { - my ( $sf, $v ) = split q{=}, $affect; + my ( $sf, $v ) = split q{=}, $affect, 2; foreach ( $item->field($itemfield) ) { $_->update( $sf => $v ); } -- 1.7.7.6