[Rt-commit] r18066 - in rt/3.999/branches/merge_to_3.8.2: .
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Thu Jan 29 10:07:14 EST 2009
Author: sunnavy
Date: Thu Jan 29 10:07:14 2009
New Revision: 18066
Modified:
rt/3.999/branches/merge_to_3.8.2/ (props changed)
rt/3.999/branches/merge_to_3.8.2/lib/RT/Model/Ticket.pm
Log:
r19324 at sunnavys-mb: sunnavy | 2009-01-29 23:06:59 +0800
forgot the DESTORY part diff for lib/RT/Model/Ticket.pm
Modified: rt/3.999/branches/merge_to_3.8.2/lib/RT/Model/Ticket.pm
==============================================================================
--- rt/3.999/branches/merge_to_3.8.2/lib/RT/Model/Ticket.pm (original)
+++ rt/3.999/branches/merge_to_3.8.2/lib/RT/Model/Ticket.pm Thu Jan 29 10:07:14 2009
@@ -2648,8 +2648,17 @@
stage => 'transaction_batch',
ticket_obj => $self,
transaction_obj => $batch->[0],
- type => join( ',', ( map { $_->type } @{$batch} ) )
+ type => join( ',', map $_->type, grep defined, @{$batch} )
);
+
+ # Entry point of the rule system
+ my $rules = RT::Ruleset->find_all_rules(
+ stage => 'TransactionBatch',
+ ticket_obj => $self,
+ transaction_obj => $batch->[0],
+ type => join( ',', map $_->type, grep defined, @{$batch} )
+ );
+ RT::Ruleset->commit_rules($rules);
}
More information about the Rt-commit
mailing list