From ffc4ee0d4ee289574cd41a2aa87ca53858f195a3 Mon Sep 17 00:00:00 2001 From: erickson Date: Wed, 13 Sep 2006 16:41:21 +0000 Subject: [PATCH] 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 --- Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm | 1 + 1 file changed, 1 insertion(+) 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; -- 2.43.2