From 47193c652200dce8051f3ae75848e1cc45f0427d Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Tue, 12 Jan 2010 16:11:20 +0000 Subject: Bug 509030: "Changes older than" in Advanced Search is sometimes ignored - Patch by Frédéric Buclin r=gerv a=LpSolit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bugzilla/CGI.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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'); } -- cgit v1.2.3-24-g4f1b