From 560ca50ac65fbbca207835e2a7bf89a8bf8d4732 Mon Sep 17 00:00:00 2001 From: miker Date: Fri, 6 Jan 2006 22:03:06 +0000 Subject: [PATCH] fixing logic hole git-svn-id: svn://svn.open-ils.org/ILS/trunk@2645 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- .../perlmods/OpenILS/Application/Storage/Publisher/action.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm b/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm index 72ca77295b..0df3437b70 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm @@ -107,7 +107,10 @@ sub patron_circ_summary { LEFT OUTER JOIN $b_table b ON (c.id = b.xact AND b.voided = FALSE) WHERE c.usr = ? AND c.xact_finish IS NULL - AND c.stop_fines NOT IN ('CLAIMSRETURNED','LOST') + AND ( + c.stop_fines NOT IN ('CLAIMSRETURNED','LOST') + OR c.stop_fines IS NULL + ) SQL return action::survey->db_Main->selectrow_arrayref($select, {}, $id); -- 2.43.2