http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10276 --- Comment #69 from M. Tompsett <mtompset@hotmail.com> --- Comment on attachment 36030 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=36030 Bug 10276 [QA Followup 2] - Remove stringify, use placeholders for db queries Review of attachment 36030: --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=10276&attachment=36030) ----------------------------------------------------------------- ::: C4/Acquisition.pm @@ +2401,5 @@
+ my @branches = GetIndependentGroupModificationRights(); + $query .= + " AND ( borrowers.branchcode = ? OR borrowers.branchcode IN ( " + . join( ',', ('?') x @branches ) . " ) ) "; + push( @query_params, @branches );
There is @branches+1 ?'s, but only @branches parameters. -- You are receiving this mail because: You are watching all bug changes.