[Rt-commit] rt branch, 3.8-trunk, updated. rt-3.8.8-67-gf957ec0
Kevin Falcone
falcone at bestpractical.com
Wed Jun 2 11:55:04 EDT 2010
The branch, 3.8-trunk has been updated
via f957ec03d6691ebc61239e951048b2e368219c7d (commit)
from 13ea1b70c191962f11eca7079c4afc8c7a6981f9 (commit)
Summary of changes:
lib/RT/Action/CreateTickets.pm | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
- Log -----------------------------------------------------------------
commit f957ec03d6691ebc61239e951048b2e368219c7d
Author: Kevin Falcone <falcone at bestpractical.com>
Date: Tue Jun 1 15:26:26 2010 -0400
Make the Transaction object available in the template since we document
that you can use it in a CreateTickets template
diff --git a/lib/RT/Action/CreateTickets.pm b/lib/RT/Action/CreateTickets.pm
index 4883ae3..b235dcc 100755
--- a/lib/RT/Action/CreateTickets.pm
+++ b/lib/RT/Action/CreateTickets.pm
@@ -352,6 +352,7 @@ sub CreateByTemplate {
local $T::TOP = $T::TOP;
local $T::ID = $T::ID;
$T::Tickets{'TOP'} = $T::TOP = $top if $top;
+ local $T::TransactionObj = $self->TransactionObj;
my $ticketargs;
my ( @links, @postponed );
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list