Bug 6805

Summary: GetPendingIssues does not check if borrowernumber array non-empty before sending to MySQL
Product: Koha Reporter: Ian Walls <koha.sekjal>
Component: Architecture, internals, and plumbingAssignee: Galen Charlton <gmcharlt>
Status: CLOSED DUPLICATE QA Contact: Bugs List <koha-bugs>
Severity: minor    
Priority: P5 - low    
Version: 3.6   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

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 ***