From e6ad3b4b5a110816ccdfc70df4c643651f0f7561 Mon Sep 17 00:00:00 2001 From: "jake%bugzilla.org" <> Date: Fri, 24 Dec 2004 17:56:30 +0000 Subject: Bug 261821 - Bugzilla now properly calls 'finish' on the DBI handle in CanSeeBug() Patch by GavinS r=joel, a=justdave --- Bugzilla/User.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'Bugzilla') diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm index 5c9b80c07..e66419941 100644 --- a/Bugzilla/User.pm +++ b/Bugzilla/User.pm @@ -290,6 +290,7 @@ sub can_see_bug { $sth->execute($bugid); my ($reporter, $owner, $qacontact, $reporter_access, $cclist_access, $isoncclist, $missinggroup) = $sth->fetchrow_array(); + $sth->finish; $self->{sthCanSeeBug} = $sth; return ( (($reporter == $userid) && $reporter_access) || (Param('useqacontact') && ($qacontact == $userid) && $userid) -- cgit v1.2.3-24-g4f1b