Permalink
Browse files

swap itemnumber and reservenumber in FillReserve w/ unshift

  • Loading branch information...
1 parent d80bc3f commit 0a00c7d4d608be9340f1cb94822312950b7c20ac @hgq hgq committed with ctfliblime Aug 5, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 C4/Reserves.pm
View
@@ -1721,7 +1721,7 @@ sub FillReserve
my @vals = ($$res{reservenumber});
if ($itemnumber) {
$setitem = ',itemnumber=?';
- push @vals, $itemnumber;
+ unshift @vals, $itemnumber; # add to FRONT of array :-)
}
C4::Context->dbh->do(qq|UPDATE reserves
SET found = 'F',

0 comments on commit 0a00c7d

Please sign in to comment.