summaryrefslogtreecommitdiff
path: root/rt/share/html/Ticket/Graphs/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'rt/share/html/Ticket/Graphs/index.html')
-rw-r--r--rt/share/html/Ticket/Graphs/index.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/rt/share/html/Ticket/Graphs/index.html b/rt/share/html/Ticket/Graphs/index.html
index e23737c..211d3a0 100644
--- a/rt/share/html/Ticket/Graphs/index.html
+++ b/rt/share/html/Ticket/Graphs/index.html
@@ -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 &>