From: Chris Sharp Date: Mon, 30 Jan 2023 19:20:24 +0000 (-0500) Subject: more log fixes X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=4b5781c869bb5b1c578196622d6645357037390c;p=evergreen%2Fpines.git more log fixes --- 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 8f43474e3a..dc9e394101 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm @@ -688,8 +688,8 @@ sub filter_user_copy_alerts { foreach my $a (@$alerts) { # filter on event type if (defined $a->alert_type) { - next if ($a->alert_type->event eq 'CHECKIN' && !$self->is_checkin && !$self->is_renewal); - next if ($a->alert_type->event eq 'CHECKOUT' && !$self->is_checkout && !$self->is_renewal); + next if (defined $a->alert_type->event && $a->alert_type->event eq 'CHECKIN' && !$self->is_checkin && !$self->is_renewal); + next if (defined $a->alert_type->event && $a->alert_type->event eq 'CHECKOUT' && !$self->is_checkout && !$self->is_renewal); next if (defined $a->alert_type->in_renew && $U->is_true($a->alert_type->in_renew) && !$self->is_renewal); next if (defined $a->alert_type->in_renew && !$U->is_true($a->alert_type->in_renew) && $self->is_renewal); }