diff options
author | mark <mark> | 2010-09-01 23:39:23 +0000 |
---|---|---|
committer | mark <mark> | 2010-09-01 23:39:23 +0000 |
commit | 8c5a780343e027058a51692d8b9b8140c88ce6c7 (patch) | |
tree | ce5cd525de2adebbc463fb63795716aa61812d35 /rt/lib/RT/CustomField.pm | |
parent | 60a603adb62f03d90391b16ce5b89242adf9c1d5 (diff) |
RT mandatory custom fields, RT#9260
Diffstat (limited to 'rt/lib/RT/CustomField.pm')
-rw-r--r-- | rt/lib/RT/CustomField.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rt/lib/RT/CustomField.pm b/rt/lib/RT/CustomField.pm index 995728f67..dc4108044 100644 --- a/rt/lib/RT/CustomField.pm +++ b/rt/lib/RT/CustomField.pm @@ -122,6 +122,7 @@ sub Create { Disabled => '0', LinkToValue => '', IncludeContentForValue => '', + Required => '0', @_); $self->SUPER::Create( @@ -381,6 +382,8 @@ sub _CoreAccessible { {read => 1, auto => 1, sql_type => 11, length => 0, is_blob => 0, is_numeric => 0, type => 'datetime', default => ''}, Disabled => {read => 1, write => 1, sql_type => 5, length => 6, is_blob => 0, is_numeric => 1, type => 'smallint(6)', default => '0'}, + Required => + {read => 1, write => 1, sql_type => 5, length => 6, is_blob => 0, is_numeric => 1, type => 'smallint(6)', default => '0'}, } }; |