From e47ccbd86eed5fb84be7c3d0c3741d11703159c8 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Tue, 11 Sep 2007 03:42:23 +0000 Subject: Bug 395603: "invalid bug attribute remaining_time" is thrown when the timetrackinggroup parameter is blank - Patch by Frédéric Buclin r=mkanat a=LpSolit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bugzilla/Bug.pm | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'Bugzilla/Bug.pm') diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index 809dae69c..5becaa843 100755 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -1262,13 +1262,11 @@ sub fields { bug_file_loc status_whiteboard keywords priority bug_severity target_milestone dependson blocked votes everconfirmed - reporter assigned_to cc), - + reporter assigned_to cc estimated_time + remaining_time actual_time deadline), + # Conditional Fields Bugzilla->params->{'useqacontact'} ? "qa_contact" : (), - Bugzilla->params->{'timetrackinggroup'} ? - qw(estimated_time remaining_time actual_time deadline) : (), - # Custom Fields Bugzilla->custom_field_names ); -- cgit v1.2.3-24-g4f1b