From 19d1f1c324a35bd44689cde98752275f518082e2 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Sun, 4 Jan 2009 18:19:27 +0000 Subject: Bug 472047: Search containing "%Complete" boolean chart fails - Patch by Frédéric Buclin r=wurblzap a=LpSolit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bugzilla/Search.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla') diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm index abc9008e9..47b4e1296 100644 --- a/Bugzilla/Search.pm +++ b/Bugzilla/Search.pm @@ -1458,7 +1458,7 @@ sub _percentage_complete { } if ($oper ne "noop") { my $table = "longdescs_$$chartid"; - if(lsearch(@$fields, "bugs.remaining_time") == -1) { + if(lsearch($fields, "bugs.remaining_time") == -1) { push(@$fields, "bugs.remaining_time"); } push(@$supptables, "LEFT JOIN longdescs AS $table " . -- cgit v1.2.3-24-g4f1b