]> git.koha-community.org Git - koha.git/commit
(Bug 3527) Removed unnecessary WHERE from UPDATE statement
authorJames Winter <winterj@arcadia.edu>
Wed, 12 Aug 2009 15:07:54 +0000 (11:07 -0400)
committerGalen Charlton <gmcharlt@gmail.com>
Thu, 13 Aug 2009 01:31:50 +0000 (21:31 -0400)
commit898c269150d32d21b6794db8b971128138aef2e9
treee6101aecc97301889a9c41de7b68f9f1e7549b73
parent13bef6756e9a5fd95beba6efeb7c1d023238f5a7
(Bug 3527) Removed unnecessary WHERE from UPDATE statement

The WHERE in this statement selected a bunch of different accounttypes, mostly legacy items.
But for sub writeoff to be called in the first place, it must have been an account with a
positive amountoustanding already, and we have the borrowernumber and accountnumber, so this
WHERE was un-needed, and prevented writeoff of locally-defined manual invoice types.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
members/pay.pl