From 87ea46f7fa2b269f065181f7765352184bb59717 Mon Sep 17 00:00:00 2001 From: Max Kanat-Alexander Date: Wed, 7 Jul 2010 14:34:25 -0700 Subject: Bug 574879: Create a test that assures the correctness of Search.pm's boolean charts r=glob, a=mkanat --- Bugzilla/Search.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla/Search.pm') diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm index ad8ab0edb..89e2dfa61 100644 --- a/Bugzilla/Search.pm +++ b/Bugzilla/Search.pm @@ -2159,7 +2159,7 @@ sub _owner_idle_time_greater_less { my $table = "idle_" . $$chartid; $$v =~ /^(\d+)\s*([hHdDwWmMyY])?$/; - my $quantity = $1; + my $quantity = $1 || 0; my $unit = lc $2; my $unitinterval = 'DAY'; if ($unit eq 'h') { -- cgit v1.2.3-24-g4f1b