From: erickson Date: Wed, 13 Sep 2006 16:41:21 +0000 (+0000) Subject: not returning the copy-alert-message event on renewals X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ffc4ee0d4ee289574cd41a2aa87ca53858f195a3;p=Evergreen.git not returning the copy-alert-message event on renewals git-svn-id: svn://svn.open-ils.org/ILS/trunk@6080 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm b/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm index 65dfaffc1a..0242cd7ce2 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm @@ -690,6 +690,7 @@ sub run_copy_permit_scripts { sub check_copy_alert { my $self = shift; + return undef if $self->is_renewal; return OpenILS::Event->new( 'COPY_ALERT_MESSAGE', payload => $self->copy->alert_message) if $self->copy and $self->copy->alert_message;