]> 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:21:05 +0000 (18:21 +0000)
committerlpsolit%gmail.com <>
Sun, 4 Jan 2009 18:21:05 +0000 (18:21 +0000)
Bugzilla/Search.pm

index 5636e429de54a818caa916f7e9706574a1223098..499cc071f9d0ae542582c9e6c479add828bd974d 100644 (file)
@@ -1421,7 +1421,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 " .