From c3408e7244a4c0e6c22aab44cbcaab7b6ad4d489 Mon Sep 17 00:00:00 2001 From: "travis%sedsystems.ca" <> Date: Fri, 11 Feb 2005 05:34:48 +0000 Subject: Bug 281845 : Possible to delete users who are initial QA contacts (Regression from bug 43600) Patch by Shane H. W. Travis r=justdave, a=justdave --- editusers.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editusers.cgi') 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()) { -- cgit v1.2.3-24-g4f1b