Bug 8307: QA Followup for finishreceive.pl
[koha.git] / acqui / finishreceive.pl
index 0c62f24..900733d 100755 (executable)
@@ -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 );
                     }