Bug 33574: Correct pointer for restrict_type.code
Somehow this was missed during QA of bug 31095.. likely during a rebase. Test plan: 1) Check that manual restriction types are now saved. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
981eeff7ef
commit
d1879136a2
|
|
@ -59,9 +59,9 @@
|
|||
[% FOREACH restriction_type IN restriction_types %]
|
||||
[% IF !restriction_type.is_system %]
|
||||
[% IF restriction_type.is_default %]
|
||||
<option value="[% code | html %]" selected>[% PROCESS restriction_type_description %]</option>
|
||||
<option value="[% restriction_type.code | html %]" selected>[% PROCESS restriction_type_description %]</option>
|
||||
[% ELSE %]
|
||||
<option value="[% code | html %]">[% PROCESS restriction_type_description %]</option>
|
||||
<option value="[% restriction_type.code | html %]">[% PROCESS restriction_type_description %]</option>
|
||||
[% END %]
|
||||
[% END %]
|
||||
[% END %]
|
||||
|
|
|
|||
|
|
@ -1467,9 +1467,9 @@ legend:hover {
|
|||
[% FOREACH restriction_type IN restriction_types %]
|
||||
[% IF !restriction_type.is_system %]
|
||||
[% IF restriction_type.is_default %]
|
||||
<option value="[% code | html %]" selected>[% PROCESS restriction_type_description %]</option>
|
||||
<option value="[% restriction_type.code | html %]" selected>[% PROCESS restriction_type_description %]</option>
|
||||
[% ELSE %]
|
||||
<option value="[% code | html %]">[% PROCESS restriction_type_description %]</option>
|
||||
<option value="[% restriction_type.code | html %]">[% PROCESS restriction_type_description %]</option>
|
||||
[% END %]
|
||||
[% END %]
|
||||
[% END %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue