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=d8b1edfe71b6f4f861e6a6dc6999909634e59027;p=working%2FEvergreen.git correctly test whether the alert_type fires during renewal 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 ddb6d98f5a..2acedfc91b 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm @@ -669,7 +669,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