diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2010-08-02 03:34:14 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2010-08-02 03:34:14 +0200 |
commit | 984348dbea43263372f84fd4d9cf2a56f6a6112f (patch) | |
tree | 619d2b70a050e25b12935c05cdf7f1ff4cddec38 /Bugzilla/WebService | |
parent | 300521bde81fd1102cac692ebc0a75312d1c5f2b (diff) | |
download | bugzilla-984348dbea43263372f84fd4d9cf2a56f6a6112f.tar.gz bugzilla-984348dbea43263372f84fd4d9cf2a56f6a6112f.tar.xz |
Bug 583622: email_in.pl doesn't let me set timetracking fields
r/a=mkanat
Diffstat (limited to 'Bugzilla/WebService')
-rw-r--r-- | Bugzilla/WebService/Bug.pm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Bugzilla/WebService/Bug.pm b/Bugzilla/WebService/Bug.pm index 625ca2541..8558e04f7 100644 --- a/Bugzilla/WebService/Bug.pm +++ b/Bugzilla/WebService/Bug.pm @@ -405,7 +405,11 @@ sub search { $params = Bugzilla::Bug::map_fields($params); delete $params->{WHERE}; - + + unless (Bugzilla->user->is_timetracker) { + delete $params->{$_} foreach qw(estimated_time remaining_time deadline); + } + # Do special search types for certain fields. if ( my $bug_when = delete $params->{delta_ts} ) { $params->{WHERE}->{'delta_ts >= ?'} = $bug_when; |