]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 744823 - Deadline throws error when selected in change history field list in...
authorDave Lawrence <dlawrence@mozilla.com>
Thu, 12 Apr 2012 18:00:11 +0000 (14:00 -0400)
committerDave Lawrence <dlawrence@mozilla.com>
Thu, 12 Apr 2012 18:00:11 +0000 (14:00 -0400)
r/a=LpSolit

query.cgi

index 0502f6c27b51f32ae6b6f16b2164ae69268f8595..b3b9aa443e0f3b5b257a69d403bbf42dbe09fffe 100755 (executable)
--- 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);
 }