From e1f6b9449eba5d15b3e5f24b35896b18c9b644d3 Mon Sep 17 00:00:00 2001 From: Albert Ting Date: Tue, 8 Mar 2016 22:06:09 +0000 Subject: Bug 1253074 - get_legal_value doesn't work for target milestone r=dkl --- Bugzilla/Field/Choice.pm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'Bugzilla') diff --git a/Bugzilla/Field/Choice.pm b/Bugzilla/Field/Choice.pm index 140feb46e..3081fb29a 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 => { -- cgit v1.2.3-24-g4f1b