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 Nighswonger <chris.nighswonger@gmail.com>
Thu, 11 Aug 2011 01:50:45 +0000 (21:50 -0400)
commit06a38274cac2acbc9e10d31e07992b411e254a53
treed0612d97fe7d5f6df8f310ecd1514956dbed6f1e
parenta94bf07f5e82a2409c439007d02852a1734fe6a0
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>
(cherry picked from commit c435c8c7d13110ab72efdf2877d3fc80f5487e72)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
C4/Members.pm
circ/circulation.pl
members/moremember.pl