]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 281845 : Possible to delete users who are initial QA contacts (Regression from...
authortravis%sedsystems.ca <>
Fri, 11 Feb 2005 05:34:02 +0000 (05:34 +0000)
committertravis%sedsystems.ca <>
Fri, 11 Feb 2005 05:34:02 +0000 (05:34 +0000)
Patch by Shane H. W. Travis <travis@sedsystems.ca>   r=justdave, a=justdave

editusers.cgi

index 27b3ed7240f527410f59bea70b20983001584fe9..040720cb94918ddb7551fb5302a0420fa05cc988 100755 (executable)
@@ -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()) {