[Rt-commit] [rtir] 02/02: Fixed a bug where a queue default WHOIS server wasn't honored for "automatic" WHOIS searches.

Jesse Vincent jesse at bestpractical.com
Thu May 7 02:26:01 EDT 2015


This is an automated email from the git hooks/post-receive script.

jesse pushed a commit to branch 3.4/reimplement-constituencies
in repository rtir.

commit 31c836014f86634f1d01fe6553f50d4759957d98
Author: Jesse Vincent <jesse at bestpractical.com>
Date:   Wed May 6 23:25:13 2015 -0700

    Fixed a bug where a queue default WHOIS server wasn't honored for "automatic" WHOIS searches.
---
 html/RTIR/Tools/Elements/ToolResultsWhois | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/html/RTIR/Tools/Elements/ToolResultsWhois b/html/RTIR/Tools/Elements/ToolResultsWhois
index d668e76..bc74810 100644
--- a/html/RTIR/Tools/Elements/ToolResultsWhois
+++ b/html/RTIR/Tools/Elements/ToolResultsWhois
@@ -120,7 +120,7 @@ $server => undef
 $WhoisServer = $server unless defined $WhoisServer;
 unless ($WhoisServer) {
     return unless RT->Config->Get('RunWhoisRequestByDefault');
-    $WhoisServer = RT::IR->FirstWhoisServer;
+    $WhoisServer = $TicketObj->QueueObj->FirstCustomFieldValue('RTIR default WHOIS server') || RT::IR->FirstWhoisServer;
 }
 
 return unless $q;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the rt-commit mailing list