summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--template/en/default/bug/create/create-guided.html.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/en/default/bug/create/create-guided.html.tmpl b/template/en/default/bug/create/create-guided.html.tmpl
index ec74d4321..46512d940 100644
--- a/template/en/default/bug/create/create-guided.html.tmpl
+++ b/template/en/default/bug/create/create-guided.html.tmpl
@@ -211,7 +211,7 @@ function PutDescription() {
size="5" onchange="PutDescription()">
[% FOREACH c = product.components %]
<option value="[% c.name FILTER html %]"
- [% " selected=\"selected\"" IF c == default.component_ %]>
+ [% " selected=\"selected\"" IF c.name == default.component_ %]>
[% c.name FILTER html %]
</option>
[% END %]