]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 472047: Search containing "%Complete" boolean chart fails - Patch by Frédéric...
authorlpsolit%gmail.com <>
Sun, 4 Jan 2009 18:19:27 +0000 (18:19 +0000)
committerlpsolit%gmail.com <>
Sun, 4 Jan 2009 18:19:27 +0000 (18:19 +0000)
Bugzilla/Search.pm

index abc9008e9a75a3741895244ae6bdb9efa7b49e95..47b4e129631c0716ee44981990b6ec7a32dd9992 100644 (file)
@@ -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 " .