[open-ils-commits] r10953 - trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Oct 28 20:09:29 EDT 2008
Author: erickson
Date: 2008-10-28 20:09:28 -0400 (Tue, 28 Oct 2008)
New Revision: 10953
Modified:
trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm
Log:
returning copy in payload of fee/deposit required events
Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm 2008-10-29 00:09:10 UTC (rev 10952)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm 2008-10-29 00:09:28 UTC (rev 10953)
@@ -688,9 +688,9 @@
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;
}
More information about the open-ils-commits
mailing list