summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorjake%bugzilla.org <>2002-11-10 08:37:07 +0100
committerjake%bugzilla.org <>2002-11-10 08:37:07 +0100
commit8ac7e6f592417ab4592cbfa015042db7582b7b06 (patch)
tree7a6e40fdbfdf20922b81e9246c78c3cae90a0128 /Bugzilla
parent1a4c7d99c6d13f7b1241d5a722aca7d8a290c1fc (diff)
downloadbugzilla-8ac7e6f592417ab4592cbfa015042db7582b7b06.tar.gz
bugzilla-8ac7e6f592417ab4592cbfa015042db7582b7b06.tar.xz
Bug 179242 Part 2 - Handle both conditions for the if block
r=bbaetz
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Search.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm
index adbdbdb2a..6e37569d9 100644
--- a/Bugzilla/Search.pm
+++ b/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);