]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 179242 Part 2 - Handle both conditions for the if block
authorjake%bugzilla.org <>
Sun, 10 Nov 2002 07:37:07 +0000 (07:37 +0000)
committerjake%bugzilla.org <>
Sun, 10 Nov 2002 07:37:07 +0000 (07:37 +0000)
r=bbaetz

Bugzilla/Search.pm

index adbdbdb2a87c6b53bf9fc604470eedb1fa0772b8..6e37569d96435b6b03a421ba7d22b53e5cb429ba 100644 (file)
@@ -192,10 +192,10 @@ sub init {
                 push(@supptables, "LEFT JOIN longdescs $table ON bugs.bug_id = $table.bug_id AND $table.who IN($list)");
                 push(@clist, "$table.who",'isnotnull');
             } else {
-                my $table = "longdescs_";
+                my $table = "longdescs_email_$id";
                 push(@supptables, "longdescs $table");
                 push(@wherepart, "$table.bug_id = bugs.bug_id");
-                my $ptable = "longdescnames_";
+                my $ptable = "longdescnames_email_$id";
                 push(@supptables, "profiles $ptable");
                 push(@wherepart, "$table.who = $ptable.userid");
                 push(@clist, "$ptable.login_name", $type, $email);