From: Albert Ting Date: Tue, 8 Mar 2016 22:06:09 +0000 (+0000) Subject: Bug 1253074 - get_legal_value doesn't work for target milestone X-Git-Tag: release-5.1.1~56 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e1f6b9449eba5d15b3e5f24b35896b18c9b644d3;p=thirdparty%2Fbugzilla.git Bug 1253074 - get_legal_value doesn't work for target milestone r=dkl --- diff --git a/Bugzilla/Field/Choice.pm b/Bugzilla/Field/Choice.pm index 140feb46e8..3081fb29a1 100644 --- a/Bugzilla/Field/Choice.pm +++ b/Bugzilla/Field/Choice.pm @@ -53,10 +53,11 @@ use constant VALIDATORS => { }; use constant CLASS_MAP => { - bug_status => 'Bugzilla::Status', - classification => 'Bugzilla::Classification', - component => 'Bugzilla::Component', - product => 'Bugzilla::Product', + bug_status => 'Bugzilla::Status', + classification => 'Bugzilla::Classification', + component => 'Bugzilla::Component', + product => 'Bugzilla::Product', + target_milestone => 'Bugzilla::Milestone', }; use constant DEFAULT_MAP => {