aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcyeh%bluemartini.com <>2000-08-29 00:56:57 +0000
committercyeh%bluemartini.com <>2000-08-29 00:56:57 +0000
commit7e2a3562db6870c62ce17000fc990895e16a144a (patch)
treeb8b82901e01a2876b3fe0b6eac3745b7514f79b7 /editproducts.cgi
parentfix for 47790 : A bug to track which bugs Zach's bugzilla patch resolves. (diff)
downloadbugzilla-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-xeditproducts.cgi6
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";