From: Dave Lawrence Date: Thu, 12 Apr 2012 17:59:02 +0000 (-0400) Subject: Bug 744823 - Deadline throws error when selected in change history field list in... X-Git-Tag: bugzilla-4.3.1~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5bb875b887b0d895b9a2146f7ceebf0f52b4ab86;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 8d8cf12249..47be93125e 100755 --- a/query.cgi +++ b/query.cgi @@ -186,6 +186,7 @@ foreach my $val (editable_bug_fields()) { if ($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); }