[Patches] [PATCH] Bug 7075 : Alternative patch to solve the finedays = 0 issue

koha-patchbot at kohaaloha.com koha-patchbot at kohaaloha.com
Fri Nov 4 19:56:44 NZDT 2011


From: Chris Cormack <chrisc at catalyst.net.nz>
Date: Fri, 4 Nov 2011 11:02:41 +1300
Subject: [PATCH] Bug 7075 : Alternative patch to solve the finedays = 0 issue

---
 C4/Members.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/C4/Members.pm b/C4/Members.pm
index 56718f0..b76ad3a 100644
--- a/C4/Members.pm
+++ b/C4/Members.pm
@@ -639,7 +639,7 @@ sub IsMemberBlocked {
             LEFT JOIN issuingrules ON (issuingrules.itemtype=biblioitems.itemtype) };
     }
 	$strsth.=
-        qq{ WHERE finedays IS NOT NULL
+        qq{ WHERE finedays IS NOT NULL AND finedays > 0
             AND  date_due < returndate
             AND borrowernumber = ?
             ORDER BY blockingdate DESC, blockedcount DESC
-- 
1.7.5.4


More information about the Patches mailing list