diff options
author | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-07-06 04:24:00 +0200 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-07-06 04:24:00 +0200 |
commit | cd90a321720332bfeffafc8d78be278d0872aa96 (patch) | |
tree | bab8f38eb8f35e04be9e95b77c7d83e1ca4fab58 /Bugzilla/Attachment.pm | |
parent | 29d098297fd0fd914c1cf1211b85cf0580a825ef (diff) | |
download | bugzilla-cd90a321720332bfeffafc8d78be278d0872aa96.tar.gz bugzilla-cd90a321720332bfeffafc8d78be278d0872aa96.tar.xz |
Bug 574892: [SECURITY] Add EXTRA_REQUIRED_FIELDS to Bugzilla::Object, which
allows specifying that certain fields have validator defaults even if they
also have a database default or are in another table.
r=LpSolit, a=LpSolit
Diffstat (limited to 'Bugzilla/Attachment.pm')
-rw-r--r-- | Bugzilla/Attachment.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Bugzilla/Attachment.pm b/Bugzilla/Attachment.pm index f42ff429e..ddce1f593 100644 --- a/Bugzilla/Attachment.pm +++ b/Bugzilla/Attachment.pm @@ -90,6 +90,7 @@ sub DB_COLUMNS { use constant REQUIRED_FIELD_MAP => { bug_id => 'bug', }; +use constant EXTRA_REQUIRED_FIELDS => qw(data); use constant UPDATE_COLUMNS => qw( description |