diff options
author | cyeh%bluemartini.com <> | 2000-08-29 00:56:57 +0000 |
---|---|---|
committer | cyeh%bluemartini.com <> | 2000-08-29 00:56:57 +0000 |
commit | 7e2a3562db6870c62ce17000fc990895e16a144a (patch) | |
tree | b8b82901e01a2876b3fe0b6eac3745b7514f79b7 /editproducts.cgi | |
parent | fix for 47790 : A bug to track which bugs Zach's bugzilla patch resolves. (diff) | |
download | bugzilla-7e2a3562db6870c62ce17000fc990895e16a144a.tar.gz bugzilla-7e2a3562db6870c62ce17000fc990895e16a144a.tar.bz2 bugzilla-7e2a3562db6870c62ce17000fc990895e16a144a.zip |
fix for 47669: editproducts.cgi line 582 uses old $::db->query. thanks to
rwhite@collectivenet.net (Ryan White) for finding it.
Diffstat (limited to 'editproducts.cgi')
-rwxr-xr-x | editproducts.cgi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editproducts.cgi b/editproducts.cgi index 3f8d82142..bb42c89f9 100755 --- a/editproducts.cgi +++ b/editproducts.cgi @@ -600,13 +600,13 @@ if ($action eq 'delete') { my $bugid = FetchOneColumn(); my $query = - $::db->query("DELETE FROM attachments WHERE bug_id=$bugid") + $::db->do("DELETE FROM attachments WHERE bug_id=$bugid") or die "$::db_errstr"; $query = - $::db->query("DELETE FROM bugs_activity WHERE bug_id=$bugid") + $::db->do("DELETE FROM bugs_activity WHERE bug_id=$bugid") or die "$::db_errstr"; $query = - $::db->query("DELETE FROM dependencies WHERE blocked=$bugid") + $::db->do("DELETE FROM dependencies WHERE blocked=$bugid") or die "$::db_errstr"; } print "Attachments, bug activity and dependencies deleted.<BR>\n"; |