Bug 6280 : Don't generate invalid SQL in GetPendingIssues
authorColin Campbell <colin.campbell@ptfs-europe.com>
Thu, 28 Apr 2011 13:39:45 +0000 (14:39 +0100)
committerChris Cormack <chrisc@catalyst.net.nz>
Thu, 11 Aug 2011 00:53:15 +0000 (12:53 +1200)
commitc435c8c7d13110ab72efdf2877d3fc80f5487e72
tree69c6650edee2c68ecad3c6074282c3d4df045d5f
parentdf78c5decdb2ead2bbfa1739e9a81ed1276e1d2a
Bug 6280 : Don't generate invalid SQL in GetPendingIssues

Change to parameter list in GetPendingIssues made it
callable by an empty list resulting in invalid sql being
sent to server. As this was occuring on most issues error log
was filling up. Put safeguard in the routine
Also don't bother calling when you have no need

Some of the processing was needlessly obscure

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
C4/Members.pm
circ/circulation.pl
members/moremember.pl