From: lpsolit%gmail.com <> Date: Tue, 12 Jan 2010 16:12:59 +0000 (+0000) Subject: Bug 509030: "Changes older than" in Advanced Search is sometimes ignored - Patch... X-Git-Tag: bugzilla-3.4.5~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb188327c0696ab8451507dd0d0191df62144cd5;p=thirdparty%2Fbugzilla.git Bug 509030: "Changes older than" in Advanced Search is sometimes ignored - Patch by Frédéric Buclin r=gerv a=LpSolit --- diff --git a/Bugzilla/CGI.pm b/Bugzilla/CGI.pm index 738a453dd4..b8011d0abb 100644 --- a/Bugzilla/CGI.pm +++ b/Bugzilla/CGI.pm @@ -178,7 +178,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'); }