From 7da7fece001cac09ef2941c11ed4404f9526a22f Mon Sep 17 00:00:00 2001 From: erickson Date: Wed, 29 Oct 2008 00:09:10 +0000 Subject: [PATCH] returning copy in payload of fee/deposit required events git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_4@10952 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm b/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm index 1a7aa39ea7..878aa18e36 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm @@ -688,9 +688,9 @@ sub do_permit { sub check_item_deposit_events { my $self = shift; - $self->push_events(OpenILS::Event->new('ITEM_DEPOSIT_REQUIRED')) + $self->push_events(OpenILS::Event->new('ITEM_DEPOSIT_REQUIRED', payload => $self->copy)) if $self->is_deposit and not $self->is_deposit_exempt; - $self->push_events(OpenILS::Event->new('ITEM_RENTAL_FEE_REQUIRED')) + $self->push_events(OpenILS::Event->new('ITEM_RENTAL_FEE_REQUIRED', payload => $self->copy)) if $self->is_rental and not $self->is_rental_exempt; } -- 2.11.0