From: Dave Lawrence Date: Thu, 12 Apr 2012 18:00:11 +0000 (-0400) Subject: Bug 744823 - Deadline throws error when selected in change history field list in... X-Git-Tag: bugzilla-4.2.1~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=978956aeeeabf9adbe0825d7b547bc570819c23a;p=thirdparty%2Fbugzilla.git Bug 744823 - Deadline throws error when selected in change history field list in query.cgi when not in time tracking group r/a=LpSolit --- diff --git a/query.cgi b/query.cgi index 0502f6c27b..b3b9aa443e 100755 --- a/query.cgi +++ b/query.cgi @@ -188,6 +188,7 @@ foreach my $val (editable_bug_fields()) { if (Bugzilla->user->is_timetracker) { push @chfields, "work_time"; } else { + @chfields = grep($_ ne "deadline", @chfields); @chfields = grep($_ ne "estimated_time", @chfields); @chfields = grep($_ ne "remaining_time", @chfields); }