[Rt-commit] [rtir] 03/06: Fix a redirect

Jesse Vincent jesse at bestpractical.com
Fri Mar 13 01:53:28 EDT 2015


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

jesse pushed a commit to branch 3.4/remove_old_constituencies
in repository rtir.

commit 4021228a1a4cbcb1513ea2ba3089fa334ee3b375
Author: Jesse Vincent <jesse at bestpractical.com>
Date:   Thu Mar 12 21:42:26 2015 -0700

    Fix a redirect
---
 html/RTIR/Create.html | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/html/RTIR/Create.html b/html/RTIR/Create.html
index d65dd4d..cac8064 100644
--- a/html/RTIR/Create.html
+++ b/html/RTIR/Create.html
@@ -352,9 +352,9 @@ if ($QueueObj->Lifecycle eq RT::IR->lifecycle_countermeasure
 # As of RTIR 3.8, that's only true for Incidents
 # If there's an RTIR specific create page for this kind of ticket, show that
 if ( $m->comp_exists("/RTIR/$Type/Create.html") ) {
-    RT::Interface::Web::Redirect(RT->Config->Get('WebURL')
-    . "RTIR/$Type/Create.html?"
-    . $m->comp('/Elements/QueryString', %ARGS ));
+RT::Interface::Web::Redirect(RT::IR->HREFTo(
+     "$Type/Create.html?"
+    . $m->comp('/Elements/QueryString', %ARGS )));
 }
 
 my (@results, $checks_failure, $skip_create);

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


More information about the rt-commit mailing list