From 0d24afb92c39c049e66883d21b2ddcc14a8401fc 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 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 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acqui/finishreceive.pl b/acqui/finishreceive.pl index 0c62f2407c..900733d402 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 ); } -- 2.20.1