diff options
-rwxr-xr-x | sanitycheck.cgi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sanitycheck.cgi b/sanitycheck.cgi index 72a2d3818..89861b4ed 100755 --- a/sanitycheck.cgi +++ b/sanitycheck.cgi @@ -399,8 +399,9 @@ if (@badbugs) { Status("Checking duplicates table"); SendSQL("SELECT bugs.bug_id " . - "FROM bugs INNER JOIN duplicates ON bugs.bug_id = duplicates.dupe " . + "FROM bugs, duplicates " . "WHERE bugs.resolution != 'DUPLICATE' " . + " AND bugs.bug_id = duplicates.dupe " . "ORDER BY bugs.bug_id"); @badbugs = (); |