]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 686246: When editing the inclusion and exclusion lists of a flagtype, empty grant...
authorFrédéric Buclin <LpSolit@gmail.com>
Mon, 12 Sep 2011 00:51:55 +0000 (02:51 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Mon, 12 Sep 2011 00:51:55 +0000 (02:51 +0200)
a=LpSolit

template/en/default/admin/flag-type/edit.html.tmpl

index f44c44d9d4bdf343cf7b41695027f6767813ddf1..2cb985a47fc89236390980b9a715310558d30d0a 100644 (file)
         [%- group.name FILTER html ~%]
       </option>
     [% END %]
-    [% IF !group_found && type.${selname} %]
+    [% IF !group_found && type.${selname}.name %]
       <option value="[% type.${selname}.name FILTER html %]" selected="selected">
         [%- type.${selname}.name FILTER html ~%]
       </option>