Bug 11814: Fix sql parameters order
Oops, bad paramaters passed on executing the sql query produced unexpected behaviors. Signed-off-by: Paola Rossi <paola.rossi@cineca.it> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
parent
4598479fd5
commit
89bfc422e6
1 changed files with 1 additions and 1 deletions
|
@ -282,7 +282,7 @@ sub UpdateClaimdateIssues {
|
|||
WHERE serialid in (" . join( ",", map { '?' } @$serialids ) . ")
|
||||
";
|
||||
my $rq = $dbh->prepare($query);
|
||||
$rq->execute($date, @$serialids, CLAIMED);
|
||||
$rq->execute($date, CLAIMED, @$serialids);
|
||||
return $rq->rows;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue