]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 353351: The name of the component in enter_bug.cgi should not be case sensitive
authorKoosha Khajeh Moogahi <koosha.khajeh@gmail.com>
Tue, 1 Jan 2013 23:40:17 +0000 (00:40 +0100)
committerFrédéric Buclin <LpSolit@gmail.com>
Tue, 1 Jan 2013 23:40:17 +0000 (00:40 +0100)
r=glob a=LpSolit

template/en/default/bug/create/create.html.tmpl

index 62b2d6a603a846b39e1925327e97e44b7da9bc5a..132385ef5a9a9f29212f67ebd535e00a66dcce00 100644 (file)
@@ -212,7 +212,7 @@ TUI_hide_default('attachment_text_field');
           [% NEXT IF NOT c.is_active %]
           <option value="[% c.name FILTER html %]"
                   id="v[% c.id FILTER html %]_component"
-            [% IF c.name == default.component_ %]
+            [% IF c.name.lower == default.component_.lower %]
               [%# This is for bug/field.html.tmpl, for visibility-related
                 # controls. %]
               [% default.component_id = c.id %]