diff options
author | lpsolit%gmail.com <> | 2010-01-12 17:11:20 +0100 |
---|---|---|
committer | lpsolit%gmail.com <> | 2010-01-12 17:11:20 +0100 |
commit | 47193c652200dce8051f3ae75848e1cc45f0427d (patch) | |
tree | 26e1115bb25662044c180597cba82fae1399f9df | |
parent | 0518013ac2119875fe675c0d25f4e7d190f78074 (diff) | |
download | bugzilla-47193c652200dce8051f3ae75848e1cc45f0427d.tar.gz bugzilla-47193c652200dce8051f3ae75848e1cc45f0427d.tar.xz |
Bug 509030: "Changes older than" in Advanced Search is sometimes ignored - Patch by Frédéric Buclin <LpSolit@gmail.com> r=gerv a=LpSolit
-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'); } |