]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Stupid typo caused "any words" and "all words" searches on the long
authorterry%mozilla.org <>
Sun, 23 Jan 2000 03:31:41 +0000 (03:31 +0000)
committerterry%mozilla.org <>
Sun, 23 Jan 2000 03:31:41 +0000 (03:31 +0000)
description to crash.

buglist.cgi

index 2fab69650defe253dcf648aaf8d07644ac9cdf01..181d4d066d52fc37a7b878402b3eb86a82f495dd 100755 (executable)
@@ -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";
             }