Bugzilla – Attachment 33890 Details for
Bug 11814
Serial statuses should be stored in constants
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11814: Fix sql parameters order
Bug-11814-Fix-sql-parameters-order.patch (text/plain), 790 bytes, created by
Jonathan Druart
on 2014-11-25 09:02:44 UTC
(
hide
)
Description:
Bug 11814: Fix sql parameters order
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2014-11-25 09:02:44 UTC
Size:
790 bytes
patch
obsolete
>From 2c5836d332fce3c4d32768a1f3cd16dea52c8c0e Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Tue, 25 Nov 2014 10:01:05 +0100 >Subject: [PATCH] Bug 11814: Fix sql parameters order > >Oops, bad paramaters passed on executing the sql query produced >unexpected behaviors. >--- > C4/Serials.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Serials.pm b/C4/Serials.pm >index 8b54af3..6542d7e 100644 >--- a/C4/Serials.pm >+++ b/C4/Serials.pm >@@ -340,7 +340,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; > } > >-- >2.1.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 11814
:
25541
|
25542
|
27605
|
33512
|
33513
|
33514
|
33552
|
33890
|
33990
|
33991
|
33992
|
34550
|
34563
|
34564
|
34565
|
34566
|
34567
|
34568
|
34569
|
34570