From: travis%sedsystems.ca <> Date: Fri, 11 Feb 2005 05:34:02 +0000 (+0000) Subject: Bug 281845 : Possible to delete users who are initial QA contacts (Regression from... X-Git-Tag: bugzilla-2.18.1~47 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28a1bb58e7a04725ffe20104f91f51088222e0c8;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 27b3ed7240..040720cb94 100755 --- a/editusers.cgi +++ b/editusers.cgi @@ -592,7 +592,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()) {