Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

swap itemnumber and reservenumber in FillReserve w/ unshift

  • Loading branch information...
commit 0a00c7d4d608be9340f1cb94822312950b7c20ac 1 parent d80bc3f
@hgq hgq authored ctfliblime committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  C4/Reserves.pm
View
2  C4/Reserves.pm
@@ -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',
Please sign in to comment.
Something went wrong with that request. Please try again.