fix another case of rt/rt/, urg
authorivan <ivan>
Wed, 30 Jun 2010 06:52:26 +0000 (06:52 +0000)
committerivan <ivan>
Wed, 30 Jun 2010 06:52:26 +0000 (06:52 +0000)
rt/share/html/Ticket/Graphs/index.html

index e23737c..211d3a0 100644 (file)
@@ -56,7 +56,9 @@
 
 <& Elements/ShowGraph, %ARGS, Ticket => $ticket &>
 
-<form action="<% RT->Config->Get('WebPath') . $m->request_comp->path %>">
+% my $path = $m->request_comp->path;
+% $path =~ s(^/rt)(); #hacky, dunno why this happens
+<form action="<% RT->Config->Get('WebPath') . $path %>">
 <input type="hidden" class="hidden" name="id" value="<% $id %>" />
 
 <& Elements/EditGraphProperties, %ARGS, Ticket => $ticket &>