[Rt-commit] r9339 - rtir/branches/2.3-EXPERIMENTAL/html/RTIR
ruz at bestpractical.com
ruz at bestpractical.com
Wed Oct 17 08:43:34 EDT 2007
Author: ruz
Date: Wed Oct 17 08:43:26 2007
New Revision: 9339
Modified:
rtir/branches/2.3-EXPERIMENTAL/html/RTIR/index.html
Log:
* use redirect instead of calling the comp
Modified: rtir/branches/2.3-EXPERIMENTAL/html/RTIR/index.html
==============================================================================
--- rtir/branches/2.3-EXPERIMENTAL/html/RTIR/index.html (original)
+++ rtir/branches/2.3-EXPERIMENTAL/html/RTIR/index.html Wed Oct 17 08:43:26 2007
@@ -42,7 +42,7 @@
my $query = $ARGS{'q'};
if ( $query =~ m/^\s*(\d+)\s*$/ ) {
- return $m->comp( '/RTIR/Display.html', id => $1 );
+ return RT::Interface::Web::Redirect(RT->Config->Get('WebURL')."RTIR/Display.html?id=$query");
}
return if $m->callback(
More information about the Rt-commit
mailing list