diff options
author | cyeh%bluemartini.com <> | 2000-08-29 02:56:57 +0200 |
---|---|---|
committer | cyeh%bluemartini.com <> | 2000-08-29 02:56:57 +0200 |
commit | 7e2a3562db6870c62ce17000fc990895e16a144a (patch) | |
tree | b8b82901e01a2876b3fe0b6eac3745b7514f79b7 /editproducts.cgi | |
parent | f8fc58cc98b1a13d8264c838b8e0accd5b1d6e96 (diff) | |
download | bugzilla-7e2a3562db6870c62ce17000fc990895e16a144a.tar.gz bugzilla-7e2a3562db6870c62ce17000fc990895e16a144a.tar.xz |
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"; |