diff options
author | Tiago Mello <timello@linux.vnet.ibm.com> | 2010-05-19 18:28:37 +0200 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-05-19 18:28:37 +0200 |
commit | 44bc791eb3aa690940d540a7154d93dc8b10f186 (patch) | |
tree | 9d489c9a0ee037d6341fd3f03f5d86d9543a6a98 /editfields.cgi | |
parent | d614dd98c482a06459f5f6e4911e0f32de6c424b (diff) | |
download | bugzilla-44bc791eb3aa690940d540a7154d93dc8b10f186.tar.gz bugzilla-44bc791eb3aa690940d540a7154d93dc8b10f186.tar.xz |
Bug 494395: Implement the ability to mark custom fields as mandatory when
creating/changing bugs
r=mkanat, a=mkanat
Diffstat (limited to 'editfields.cgi')
-rwxr-xr-x | editfields.cgi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editfields.cgi b/editfields.cgi index 35f67ae3f..0f7a45fb7 100755 --- a/editfields.cgi +++ b/editfields.cgi @@ -69,6 +69,7 @@ elsif ($action eq 'new') { visibility_value_id => scalar $cgi->param('visibility_value_id'), value_field_id => scalar $cgi->param('value_field_id'), reverse_desc => scalar $cgi->param('reverse_desc'), + is_mandatory => scalar $cgi->param('is_mandatory'), }); delete_token($token); @@ -111,6 +112,7 @@ elsif ($action eq 'update') { $field->set_in_new_bugmail($cgi->param('new_bugmail')); $field->set_enter_bug($cgi->param('enter_bug')); $field->set_obsolete($cgi->param('obsolete')); + $field->set_is_mandatory($cgi->param('is_mandatory')); $field->set_visibility_field($cgi->param('visibility_field_id')); $field->set_visibility_value($cgi->param('visibility_value_id')); $field->set_value_field($cgi->param('value_field_id')); |