[Rt-commit] [rtir] 02/03: Pass and use object for MakeClicky instead of ticket
Jim Brandt
jbrandt at bestpractical.com
Fri May 9 13:53:26 EDT 2014
This is an automated email from the git hooks/post-receive script.
jbrandt pushed a commit to branch 3.2/makeclicky-on-lookup
in repository rtir.
commit 9c5ca211c21eaa6dcbc4ca71e1799578484d0ff9
Author: Jim Brandt <jbrandt at bestpractical.com>
Date: Fri May 9 11:41:16 2014 -0400
Pass and use object for MakeClicky instead of ticket
Update some remaining references from ticket to object.
See also d58c1bad8c .
---
html/Callbacks/RTIR/Elements/MakeClicky/Default | 2 +-
html/RTIR/Tools/Elements/ToolResultsWhois | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/html/Callbacks/RTIR/Elements/MakeClicky/Default b/html/Callbacks/RTIR/Elements/MakeClicky/Default
index 937c228..3073b44 100644
--- a/html/Callbacks/RTIR/Elements/MakeClicky/Default
+++ b/html/Callbacks/RTIR/Elements/MakeClicky/Default
@@ -224,7 +224,7 @@ ${$ARGS{handle}} = sub {
if ( $args{object}->isa('RT::Ticket') ) {
$args{type} = RT::IR::TicketType( Queue => $args{object}->QueueObj->Name );
- $args{incident} = $args{ticket}->id
+ $args{incident} = $args{object}->id
if $args{type} && $args{type} eq 'Incident';
$args{lookup_params} = "ticket=".$args{object}->id
diff --git a/html/RTIR/Tools/Elements/ToolResultsWhois b/html/RTIR/Tools/Elements/ToolResultsWhois
index 399fc4e..f1191ab 100644
--- a/html/RTIR/Tools/Elements/ToolResultsWhois
+++ b/html/RTIR/Tools/Elements/ToolResultsWhois
@@ -64,7 +64,7 @@ if ( $WhoisIterator ) {
if ( $handparse || $#lines_starting_with_space >= 4 ) { #we couldn't parse that. suck
my $content = join "", $obj->content;
$m->comp( '/Elements/MakeClicky',
- ticket => $TicketObj,
+ object => $TicketObj,
lookup_params => "ticket=". ($TicketObj? $TicketObj->id : 0) ."&server=$WhoisServer",
content => \$content,
);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the rt-commit
mailing list