Commit f88d2962 authored by travis%sedsystems.ca's avatar travis%sedsystems.ca

Bug 282983 : bug cloning doesn't work if classifications are enabled

Patch by Shane H. W. Travis <travis@sedsystems.ca> r=glob a=myk
parent 9eebc260
......@@ -98,6 +98,8 @@ if (!defined $product) {
$vars->{'target'} = "enter_bug.cgi";
$vars->{'format'} = $::FORM{'format'};
$vars->{'cloned_bug_id'} = $cgi->param('cloned_bug_id');
print "Content-type: text/html\n\n";
$template->process("global/choose-classification.html.tmpl", $vars)
|| ThrowTemplateError($template->error());
......
......@@ -36,6 +36,7 @@
<tr>
<th align="right" valign="center" height=50>
<a href="[% target FILTER url_quote %]?classification=__all
[% IF cloned_bug_id %]&amp;cloned_bug_id=[% cloned_bug_id FILTER url_quote %][% END %]
[% IF format %]&amp;format=[% format FILTER url_quote %][% END %]">
All</a>:
</th>
......@@ -49,6 +50,7 @@
<tr>
<th align="right" valign="top">
<a href="[% target FILTER url_quote %]?classification=[% p FILTER url_quote %]
[% IF cloned_bug_id %]&amp;cloned_bug_id=[% cloned_bug_id FILTER url_quote %][% END %]
[% IF format %]&amp;format=[% format FILTER url_quote %][% END %]">
[% p FILTER html %]</a>:
</th>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment