Bug 6805 - GetPendingIssues does not check if borrowernumber array non-empty before sending to MySQL
Summary: GetPendingIssues does not check if borrowernumber array non-empty before send...
Status: CLOSED DUPLICATE of bug 6280
Alias: None
Product: Koha
Classification: Unclassified
Component: Architecture, internals, and plumbing (show other bugs)
Version: 3.6
Hardware: All All
: P5 - low minor (vote)
Assignee: Galen Charlton
QA Contact: Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-29 17:02 UTC by Ian Walls
Modified: 2012-10-26 00:40 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Walls 2011-08-29 17:02:45 UTC
In GetPendingIssues, since it's modification to handle multiple borrowersnumbers at a time, there is no check as to whether the borrowernumber array is non-empty; an empty array will result in a malformed SQL query (...WHERE ORDERBY...).
Comment 1 Ian Walls 2011-09-30 18:42:40 UTC

*** This bug has been marked as a duplicate of bug 6280 ***