summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2012-04-12 19:59:02 +0200
committerDave Lawrence <dlawrence@mozilla.com>2012-04-12 19:59:02 +0200
commit5bb875b887b0d895b9a2146f7ceebf0f52b4ab86 (patch)
treed7b1186309e92090d6b26f985fadfcf32f3aabbb
parent1ace4c8423952dc570e2ee867d005d2668da9fcf (diff)
downloadbugzilla-5bb875b887b0d895b9a2146f7ceebf0f52b4ab86.tar.gz
bugzilla-5bb875b887b0d895b9a2146f7ceebf0f52b4ab86.tar.xz
Bug 744823 - Deadline throws error when selected in change history field list in query.cgi when not in time tracking group
r/a=LpSolit
-rwxr-xr-xquery.cgi1
1 files changed, 1 insertions, 0 deletions
diff --git a/query.cgi b/query.cgi
index 8d8cf1224..47be93125 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);
}