diff options
Diffstat (limited to 'rt/lib/RT/Rule.pm')
-rw-r--r-- | rt/lib/RT/Rule.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/rt/lib/RT/Rule.pm b/rt/lib/RT/Rule.pm index 3b3e8b7bf..bdbbe0b98 100644 --- a/rt/lib/RT/Rule.pm +++ b/rt/lib/RT/Rule.pm @@ -103,11 +103,10 @@ sub RunScripAction { my $action = $ScripAction->LoadAction( TransactionObj => $self->TransactionObj, TicketObj => $self->TicketObj, + TemplateObj => $template, %args, ); - # XXX: fix template to allow additional arguments to be passed from here - $action->{'TemplateObj'} = $template; $action->{'ScripObj'} = RT::Scrip->new($self->CurrentUser); # Stub. sendemail action really wants a scripobj available $action->Prepare or return; $action->Commit; |