summaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
authorterry%mozilla.org <>1999-10-08 23:01:02 +0200
committerterry%mozilla.org <>1999-10-08 23:01:02 +0200
commit4abcff3783b938ccf9acbb415a9a32c7dffd5c31 (patch)
tree6e9a0ade2fbfd0b76ae800012e221337c6ef263d /buglist.cgi
parent7be2f1fbe2355a4a3bce8a4b31242ff279fa4ae6 (diff)
downloadbugzilla-4abcff3783b938ccf9acbb415a9a32c7dffd5c31.tar.gz
bugzilla-4abcff3783b938ccf9acbb415a9a32c7dffd5c31.tar.xz
Fixed bug 15808 -- previous change had busted querying of CC.
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-xbuglist.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/buglist.cgi b/buglist.cgi
index 9fbf79ab2..29c05a0ac 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -209,7 +209,7 @@ bugs.bug_status";
$query .= "
-from bugs left join votes using(bug_id),
+from bugs left join votes on bugs.bug_id = votes.bug_id,
profiles assign,
profiles report
left join profiles qacont on bugs.qa_contact = qacont.userid,
@@ -228,7 +228,7 @@ if ((defined $::FORM{'emailcc1'} && $::FORM{'emailcc1'}) ||
# We need to poke into the CC table. Do weird SQL left join stuff so that
# we can look in the CC table, but won't reject any bugs that don't have
# any CC fields.
- $query =~ s/bugs left join,/bugs left join cc using (bug_id) left join profiles ccname on cc.who = ccname.userid left join,/;
+ $query =~ s/bugs left join/bugs left join cc on bugs.bug_id = cc.bug_id left join profiles ccname on cc.who = ccname.userid left join/;
}
if (defined $::FORM{'sql'}) {