From bd7fe673a5cdc2abb0b6a0e992d3f493e1edc7f3 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Thu, 17 Dec 2015 17:59:41 -0500 Subject: [PATCH] correctly test whether the alert_type fires during renewal Signed-off-by: Galen Charlton --- Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm index aba5512c4b..c98b2f6d48 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm @@ -679,7 +679,7 @@ sub filter_user_copy_alerts { if (defined $a->alert_type) { next if ($a->alert_type->event eq 'CHECKIN' && !$self->is_checkin); next if ($a->alert_type->event eq 'CHECKOUT' && !$self->is_checkout); - next if (defined $a->alert_type->in_renew && $U->is_true($a->in_renew) && !$self->is_renewal); + next if (defined $a->alert_type->in_renew && $U->is_true($a->alert_type->in_renew) && !$self->is_renewal); } # filter on suppression -- 2.11.0