]> 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:48 +0000 (05:34 +0000)
committertravis%sedsystems.ca <>
Fri, 11 Feb 2005 05:34:48 +0000 (05:34 +0000)
Patch by Shane H. W. Travis <travis@sedsystems.ca>   r=justdave, a=justdave

editusers.cgi

index 8cd53efd0c9e7d7f1938c339bbc2a0ab2579c34f..5b1f257964a071b10a8ed9a1e6daa91102cc986f 100755 (executable)
@@ -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()) {