summaryrefslogtreecommitdiff
path: root/rt
diff options
context:
space:
mode:
authorivan <ivan>2010-08-04 09:25:11 +0000
committerivan <ivan>2010-08-04 09:25:11 +0000
commit24970e7b3fde1d521f4039fb1dbd9d858ca96eed (patch)
treedc0617a3bd6d1e8d9ebf1c3ff4f57bf50807c73a /rt
parentdf08772b72f5a9231afc90eb12591a62dfdfbf9e (diff)
fix additional instance of rt/rt problem, RT#9280
Diffstat (limited to 'rt')
-rwxr-xr-xrt/share/html/Admin/Elements/EditCustomFields4
1 files changed, 3 insertions, 1 deletions
diff --git a/rt/share/html/Admin/Elements/EditCustomFields b/rt/share/html/Admin/Elements/EditCustomFields
index 0767e4ae4..10f254006 100755
--- a/rt/share/html/Admin/Elements/EditCustomFields
+++ b/rt/share/html/Admin/Elements/EditCustomFields
@@ -47,7 +47,9 @@
%# END BPS TAGGED BLOCK }}}
<& /Elements/ListActions, actions => \@results &>
-<form action="<%RT->Config->Get('WebPath')%><% $m->request_comp->path |n %>" method="post" name="EditCustomFields">
+% my $path = $m->request_comp->path;
+% $path =~ s(^/rt)(); #hacky, dunno why this happens
+<form action="<%RT->Config->Get('WebPath')%><% $path |n %>" method="post" name="EditCustomFields">
<input type="hidden" class="hidden" name="id" value="<% $Object->Id || ''%>" />
<input type="hidden" class="hidden" name="ObjectType" value="<% $ObjectType %>" />
<input type="hidden" class="hidden" name="SubType" value="<% $SubType %>" />