summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Search.pm
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2009-01-04 19:19:27 +0100
committerlpsolit%gmail.com <>2009-01-04 19:19:27 +0100
commit19d1f1c324a35bd44689cde98752275f518082e2 (patch)
tree1af1104ac87eed3bd78444167de4593bb8a035b8 /Bugzilla/Search.pm
parent26428bd5366a710abf864745ce2706e482b86aa9 (diff)
downloadbugzilla-19d1f1c324a35bd44689cde98752275f518082e2.tar.gz
bugzilla-19d1f1c324a35bd44689cde98752275f518082e2.tar.xz
Bug 472047: Search containing "%Complete" boolean chart fails - Patch by Frédéric Buclin <LpSolit@gmail.com> r=wurblzap a=LpSolit
Diffstat (limited to 'Bugzilla/Search.pm')
-rw-r--r--Bugzilla/Search.pm2
1 files changed, 1 insertions, 1 deletions
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 " .