diff options
-rwxr-xr-x | editusers.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editusers.cgi b/editusers.cgi index 8cd53efd0..5b1f25796 100755 --- a/editusers.cgi +++ b/editusers.cgi @@ -561,7 +561,7 @@ if ($action eq 'del') { SendSQL("SELECT products.name, components.name " . "FROM products, components " . - "WHERE products.id = components.id " . + "WHERE products.id = components.product_id " . " AND initialqacontact=" . DBname_to_id($user)); $found = 0; while (MoreSQLData()) { |