]> 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 17:59:02 +0000 (13:59 -0400)
committerDave Lawrence <dlawrence@mozilla.com>
Thu, 12 Apr 2012 17:59:02 +0000 (13:59 -0400)
r/a=LpSolit

query.cgi

index 8d8cf12249734462d3d70fadd13d588638bfdce0..47be93125e5b7921f12d7feb87ab4b278e3cf9d7 100755 (executable)
--- 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);
 }