From 3efbc4116625382c2452e0a4e6dc06be5fb5c644 Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Wed, 9 Mar 2016 16:57:10 +0300 Subject: [PATCH] Treat uppercase "Now" also as undef --- Bugzilla/Search.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm index 94023241d..a583f8862 100644 --- a/Bugzilla/Search.pm +++ b/Bugzilla/Search.pm @@ -1331,7 +1331,7 @@ sub init $self->{interval_who} = $override ? $H->{period_who} : $H->{chfieldwho}; for ($self->{interval_from}, $self->{interval_to}) { - $_ = $_ && $_ ne 'now' ? SqlifyDate($_) : undef; + $_ = $_ && lc $_ ne 'now' ? SqlifyDate($_) : undef; } for ($self->{interval_who}) {