diff options
-rw-r--r-- | Bugzilla/CGI.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Bugzilla/CGI.pm b/Bugzilla/CGI.pm index bebff2d63..8a0e2efe9 100644 --- a/Bugzilla/CGI.pm +++ b/Bugzilla/CGI.pm @@ -173,7 +173,8 @@ sub clean_search_url { # chfieldto is set to "Now" by default in query.cgi. But if none # of the other chfield parameters are set, it's meaningless. if (!defined $self->param('chfieldfrom') && !$self->param('chfield') - && !defined $self->param('chfieldvalue')) + && !defined $self->param('chfieldvalue') && $self->param('chfieldto') + && lc($self->param('chfieldto')) eq 'now') { $self->delete('chfieldto'); } |