diff options
author | bbaetz%student.usyd.edu.au <> | 2002-08-12 12:42:42 +0000 |
---|---|---|
committer | bbaetz%student.usyd.edu.au <> | 2002-08-12 12:42:42 +0000 |
commit | 61ddf0a32846fdf2607043d94af1a0a86b80f6fc (patch) | |
tree | 714517b4c6b9e33b10a12aa5a4b99641bcafefef /editgroups.cgi | |
parent | 17b301e76d886afd5be8f4e9919afb4446e49405 (diff) | |
download | bugs-61ddf0a32846fdf2607043d94af1a0a86b80f6fc.tar bugs-61ddf0a32846fdf2607043d94af1a0a86b80f6fc.tar.gz bugs-61ddf0a32846fdf2607043d94af1a0a86b80f6fc.tar.bz2 bugs-61ddf0a32846fdf2607043d94af1a0a86b80f6fc.tar.xz bugs-61ddf0a32846fdf2607043d94af1a0a86b80f6fc.zip |
Bug 43600 - Convert products/components to use ids instead of names.
Initial attempt by jake@bugzilla.org, updated by me
r=joel, preed
Diffstat (limited to 'editgroups.cgi')
-rwxr-xr-x | editgroups.cgi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editgroups.cgi b/editgroups.cgi index 9c93363c0..623cf47d3 100755 --- a/editgroups.cgi +++ b/editgroups.cgi @@ -422,7 +422,7 @@ this box. It is <B>strongly</B> suggested that you review the bugs in this group before checking the box.<P> "; } - SendSQL("SELECT product FROM products WHERE product=" . SqlQuote($name)); + SendSQL("SELECT name FROM products WHERE name=" . SqlQuote($name)); if (MoreSQLData()) { $cantdelete = 1; print " @@ -489,7 +489,7 @@ if ($action eq 'delete') { $cantdelete = 1; } } - SendSQL("SELECT product FROM products WHERE product=" . SqlQuote($name)); + SendSQL("SELECT name FROM products WHERE name=" . SqlQuote($name)); if (FetchOneColumn()) { if (!defined $::FORM{'unbind'}) { $cantdelete = 1; |