From 157112a527273a0010b23ded67856d671dd757f0 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Wed, 17 May 2006 05:49:12 +0000 Subject: Bug 300549: Eliminate deprecated Bugzilla::DB routines from Flag.pm and FlagType.pm - Patch by Frédéric Buclin r=wicked a=justdave MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- attachment.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'attachment.cgi') diff --git a/attachment.cgi b/attachment.cgi index fbe0bd054..bbccbd912 100755 --- a/attachment.cgi +++ b/attachment.cgi @@ -1045,7 +1045,7 @@ sub insert foreach my $obsolete_id (@obsolete_ids) { # If the obsolete attachment has request flags, cancel them. # This call must be done before updating the 'attachments' table. - Bugzilla::Flag::CancelRequests($bugid, $obsolete_id, $dbh->quote($timestamp)); + Bugzilla::Flag::CancelRequests($bugid, $obsolete_id, $timestamp); $dbh->do("UPDATE attachments SET isobsolete = 1 " . "WHERE attach_id = ?", undef, $obsolete_id); -- cgit v1.2.3-24-g4f1b