[Rt-commit] r11175 - rtir/branches/2.3-EXPERIMENTAL/html/RTIR
ruz at bestpractical.com
ruz at bestpractical.com
Mon Mar 24 22:21:59 EDT 2008
Author: ruz
Date: Mon Mar 24 22:21:59 2008
New Revision: 11175
Modified:
rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Display.html
Log:
* indent
* "@xxx => undef" is wrong in %ARGS when "@xxx => ()" is the right thing to do
Modified: rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Display.html
==============================================================================
--- rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Display.html (original)
+++ rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Display.html Mon Mar 24 22:21:59 2008
@@ -241,10 +241,12 @@
} elsif( $id ) {
my $oldstate = $Ticket->FirstCustomFieldValue('_RTIR_State') ||'';
-$m->callback(CallbackName => 'ProcessArguments',
+ $m->callback(
+ CallbackName => 'ProcessArguments',
Ticket => $Ticket,
ARGSRef => \%ARGS,
- Actions => \@results);
+ Actions => \@results
+ );
if ( $ARGS{'Action'} && $ARGS{'Action'} =~ /^(Steal|Kill|Take|SetTold)$/ ) {
my $action = $1;
@@ -256,7 +258,6 @@
}
}
-
if ( $ARGS{'TakeOrStealFirst'} and $Ticket->Owner != $Ticket->CurrentUser->Id) {
my ($status, $msg) = $Ticket->SetOwner($Ticket->CurrentUser->Id, 'Force');
push @results, $msg if $msg;
@@ -326,6 +327,6 @@
<%ARGS>
$id => 0
$Queue => undef
- at results => undef
+ at results => ()
@SelectedTickets => ()
</%ARGS>
More information about the Rt-commit
mailing list