From: Galen Charlton Date: Thu, 17 Dec 2015 22:59:41 +0000 (-0500) Subject: correctly test whether the alert_type fires during renewal X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=b911ed016f3ba0a9839e9011fb18eb143b61ddd9;p=working%2FEvergreen.git correctly test whether the alert_type fires during renewal Signed-off-by: Galen Charlton Signed-off-by: Galen Charlton --- 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