summaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
authorterry%mozilla.org <>2000-01-23 04:31:41 +0100
committerterry%mozilla.org <>2000-01-23 04:31:41 +0100
commit6047034f72dbfa7fd344da57119e7af4d34f0d8c (patch)
tree189bf4eb3745b2c597436d49cfea21b8bf03a340 /buglist.cgi
parentea24a262aa45f70664f271c986a50cbc608aa019 (diff)
downloadbugzilla-6047034f72dbfa7fd344da57119e7af4d34f0d8c.tar.gz
bugzilla-6047034f72dbfa7fd344da57119e7af4d34f0d8c.tar.xz
Stupid typo caused "any words" and "all words" searches on the long
description to crash.
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-xbuglist.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/buglist.cgi b/buglist.cgi
index 2fab69650..181d4d066 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -536,9 +536,9 @@ foreach my $f ("short_desc", "long_desc", "bug_file_loc",
} elsif ($type eq "casesubstring") {
$query .= "and instr($n, $q)\n";
} elsif ($type eq "allwords") {
- $query .= GetByWordList($f, $s, "and");
+ $query .= GetByWordList($n, $s, "and");
} elsif ($type eq "anywords") {
- $query .= GetByWordList($f, $s, "or");
+ $query .= GetByWordList($n, $s, "or");
} else {
$query .= "and instr(lower($n), lower($q))\n";
}