diff options
author | terry%mozilla.org <> | 2000-01-07 06:32:59 +0100 |
---|---|---|
committer | terry%mozilla.org <> | 2000-01-07 06:32:59 +0100 |
commit | f8b945c9856ae93508172f8b024ae26d94667899 (patch) | |
tree | d63a395f1a16acf0d0919968aa1a341e3ca4dd9e /buglist.cgi | |
parent | 397beebc19dfac0417a64fdbcfb4e6657f6ad9f5 (diff) | |
download | bugzilla-f8b945c9856ae93508172f8b024ae26d94667899.tar.gz bugzilla-f8b945c9856ae93508172f8b024ae26d94667899.tar.xz |
Whoops; SQL doesn't seem to want me to mention a table in a SELECT statement
if I'm not going to use it.
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-x | buglist.cgi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/buglist.cgi b/buglist.cgi index 211259dca..7ae3f066c 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -235,8 +235,7 @@ from bugs, profiles assign, profiles report left join profiles qacont on bugs.qa_contact = qacont.userid, - versions projector, - keywords + versions projector where bugs.assigned_to = assign.userid and bugs.reporter = report.userid @@ -309,6 +308,7 @@ if ($::FORM{'keywords'}) { } } if (@list) { + $query =~ s/bugs,/bugs, keywords,/; $query .= "and keywords.bug_id = bugs.bug_id and (" . join(" $::FORM{'keywords_type'} ", @list) . ")\n"; } |