summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Search.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm
index cea9294ca..73d95c524 100644
--- a/Bugzilla/Search.pm
+++ b/Bugzilla/Search.pm
@@ -202,7 +202,7 @@ sub init {
}
if ($params->param("emaillongdesc$id")) {
if (my $list = $self->ListIDsForEmail($type, $email)) {
- my $table = "longdescs_";
+ my $table = "longdescs_email_$id";
push(@supptables, "LEFT JOIN longdescs $table ON bugs.bug_id = $table.bug_id AND $table.who IN($list)");
push(@clist, "$table.who",'isnotnull');
} else {