summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortravis%sedsystems.ca <>2005-02-11 06:34:48 +0100
committertravis%sedsystems.ca <>2005-02-11 06:34:48 +0100
commitc3408e7244a4c0e6c22aab44cbcaab7b6ad4d489 (patch)
tree91c2bc6786f55b20776299808e2e0ebfba488a77
parent6db4590f9bc598179bbed35b66a3e583a04984c0 (diff)
downloadbugzilla-c3408e7244a4c0e6c22aab44cbcaab7b6ad4d489.tar.gz
bugzilla-c3408e7244a4c0e6c22aab44cbcaab7b6ad4d489.tar.xz
Bug 281845 : Possible to delete users who are initial QA contacts (Regression from bug 43600)
Patch by Shane H. W. Travis <travis@sedsystems.ca> r=justdave, a=justdave
-rwxr-xr-xeditusers.cgi2
1 files changed, 1 insertions, 1 deletions
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()) {