projects
/
koha-ffzg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b36244
)
Bug 8307: QA Followup for finishreceive.pl
author
Marcel de Rooy
<m.de.rooy@rijksmuseum.nl>
Mon, 3 Jun 2013 08:19:39 +0000
(10:19 +0200)
committer
Galen Charlton
<gmc@esilibrary.com>
Thu, 31 Oct 2013 23:37:04 +0000
(23:37 +0000)
Only split the expression a=b on the first = sign.
Tested with the very unlikely z=x=1 :)
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
acqui/finishreceive.pl
patch
|
blob
|
history
diff --git
a/acqui/finishreceive.pl
b/acqui/finishreceive.pl
index
0c62f24
..
900733d
100755
(executable)
--- 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 );
}