summaryrefslogtreecommitdiffstats
path: root/checksetup.pl
diff options
context:
space:
mode:
Diffstat (limited to 'checksetup.pl')
-rwxr-xr-xchecksetup.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/checksetup.pl b/checksetup.pl
index 3f4a68b78..225a3341e 100755
--- a/checksetup.pl
+++ b/checksetup.pl
@@ -2445,7 +2445,7 @@ if (!($sth->fetchrow_arrayref()->[0])) {
$sth = $dbh->prepare(
"SELECT longdescs.bug_id, thetext " .
"FROM longdescs " .
- "LEFT JOIN bugs using(bug_id) " .
+ "LEFT JOIN bugs ON longdescs.bug_id = bugs.bug_id " .
"WHERE (" . $dbh->sql_regexp("thetext",
"'[.*.]{3} This bug has been marked as a duplicate of [[:digit:]]+ [.*.]{3}'") . ") " .
"AND (resolution = 'DUPLICATE') " .