[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.9.4-456-ga683d03
? sunnavy
sunnavy at bestpractical.com
Fri Nov 12 04:06:47 EST 2010
The branch, 3.9-trunk has been updated
via a683d03d36cf3e13df50aa7107c68995ff1d297a (commit)
from 591dc73757d58b460fbe0c8b443b5d0730623d3d (commit)
Summary of changes:
share/html/Admin/Queues/Modify.html | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit a683d03d36cf3e13df50aa7107c68995ff1d297a
Author: sunnavy <sunnavy at bestpractical.com>
Date: Fri Nov 12 17:00:27 2010 +0800
add no_redirect_results to not redirect even we have some results
diff --git a/share/html/Admin/Queues/Modify.html b/share/html/Admin/Queues/Modify.html
index bad71b4..94a1310 100755
--- a/share/html/Admin/Queues/Modify.html
+++ b/share/html/Admin/Queues/Modify.html
@@ -137,7 +137,7 @@
<%INIT>
-my ($title, @results, $Disabled, $EnabledChecked);
+my ($title, @results, @no_redirect_results, $Disabled, $EnabledChecked);
my $QueueObj = RT::Queue->new( $session{'CurrentUser'} );
$QueueObj->Load( $id ) if !$id || $id eq 'new';
@@ -197,7 +197,7 @@ if ( $QueueObj->Id ) {
foreach my $address ( $QueueObj->CorrespondAddress, $QueueObj->CommentAddress ) {
next unless defined $address && length $address;
next if RT::EmailParser->IsRTAddress( $address );
- push @results, loc("RTAddressRegexp option in the config doesn't match [_1]", $address );
+ push @no_redirect_results, loc("RTAddressRegexp option in the config doesn't match [_1]", $address );
}
}
}
@@ -210,6 +210,8 @@ $m->comp(
id => $QueueObj->Id,
ARGSRef => \%ARGS
);
+
+push @results, @no_redirect_results;
</%INIT>
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list