summaryrefslogtreecommitdiffstats
path: root/query.cgi
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2012-04-12 20:00:11 +0200
committerDave Lawrence <dlawrence@mozilla.com>2012-04-12 20:00:11 +0200
commit978956aeeeabf9adbe0825d7b547bc570819c23a (patch)
tree737538207b174b549fe181418bdbe2feb18221a5 /query.cgi
parentea21fb4e6f33b9b445d7c0cfe553d73ce0bc8f78 (diff)
downloadbugzilla-978956aeeeabf9adbe0825d7b547bc570819c23a.tar.gz
bugzilla-978956aeeeabf9adbe0825d7b547bc570819c23a.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
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 0502f6c27..b3b9aa443 100755
--- 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);
}