Bug 261821 - Bugzilla now properly calls 'finish' on the DBI handle in CanSeeBug()

Patch by GavinS <bugzilla@chimpychompy.org>
r=joel, a=justdave


git-svn-id: svn://10.0.0.236/trunk@167018 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jake%bugzilla.org
2004-12-24 09:56:30 +00:00
parent b811205923
commit ac30efc907

View File

@@ -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)