aboutsummaryrefslogtreecommitdiffstats
path: root/query.cgi
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2012-04-12 13:59:02 -0400
committerDave Lawrence <dlawrence@mozilla.com>2012-04-12 13:59:02 -0400
commit5bb875b887b0d895b9a2146f7ceebf0f52b4ab86 (patch)
treed7b1186309e92090d6b26f985fadfcf32f3aabbb /query.cgi
parent1ace4c8423952dc570e2ee867d005d2668da9fcf (diff)
downloadbugs-5bb875b887b0d895b9a2146f7ceebf0f52b4ab86.tar
bugs-5bb875b887b0d895b9a2146f7ceebf0f52b4ab86.tar.gz
bugs-5bb875b887b0d895b9a2146f7ceebf0f52b4ab86.tar.bz2
bugs-5bb875b887b0d895b9a2146f7ceebf0f52b4ab86.tar.xz
bugs-5bb875b887b0d895b9a2146f7ceebf0f52b4ab86.zip
Bug 744823 - Deadline throws error when selected in change history field list in query.cgi when not in time tracking group
r/a=LpSolit
Diffstat (limited to 'query.cgi')
-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);
}