From f882285e4001ff933942e46398a6c027a36d5b00 Mon Sep 17 00:00:00 2001 From: "jake%bugzilla.org" Date: Sat, 9 Nov 2002 23:37:07 +0000 Subject: [PATCH] Bug 179242 Part 2 - Handle both conditions for the if block r=bbaetz git-svn-id: svn://10.0.0.236/trunk@133514 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/Bugzilla/Search.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/webtools/bugzilla/Bugzilla/Search.pm b/mozilla/webtools/bugzilla/Bugzilla/Search.pm index adbdbdb2a87..6e37569d964 100644 --- a/mozilla/webtools/bugzilla/Bugzilla/Search.pm +++ b/mozilla/webtools/bugzilla/Bugzilla/Search.pm @@ -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);