From: travis%sedsystems.ca <> Date: Fri, 11 Feb 2005 05:34:48 +0000 (+0000) Subject: Bug 281845 : Possible to delete users who are initial QA contacts (Regression from... X-Git-Tag: bugzilla-2.19.3~325 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3408e7244a4c0e6c22aab44cbcaab7b6ad4d489;p=thirdparty%2Fbugzilla.git 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 --- diff --git a/editusers.cgi b/editusers.cgi index 8cd53efd0c..5b1f257964 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()) {