[Rt-commit] r8769 - in rt/branches/3.7-EXPERIMENTAL: .
ruz at bestpractical.com
ruz at bestpractical.com
Tue Aug 28 14:38:45 EDT 2007
Author: ruz
Date: Tue Aug 28 14:38:44 2007
New Revision: 8769
Modified:
rt/branches/3.7-EXPERIMENTAL/ (props changed)
rt/branches/3.7-EXPERIMENTAL/lib/RT/Ticket_Overlay.pm
Log:
r8665 at cubic-pc (orig r8664): ruz | 2007-08-21 16:48:27 +0400
* things could be undefined during global destruction
Modified: rt/branches/3.7-EXPERIMENTAL/lib/RT/Ticket_Overlay.pm
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/lib/RT/Ticket_Overlay.pm (original)
+++ rt/branches/3.7-EXPERIMENTAL/lib/RT/Ticket_Overlay.pm Tue Aug 28 14:38:44 2007
@@ -3146,10 +3146,10 @@
require RT::Scrips;
RT::Scrips->new($RT::SystemUser)->Apply(
- Stage => 'TransactionBatch',
- TicketObj => $self,
- TransactionObj => $batch->[0],
- Type => join(',', (map { $_->Type } @{$batch}) )
+ Stage => 'TransactionBatch',
+ TicketObj => $self,
+ TransactionObj => $batch->[0],
+ Type => join( ',', map $_->Type, grep defined, @{$batch} )
);
}
More information about the Rt-commit
mailing list