Commit e6ad3b4b authored by jake%bugzilla.org's avatar jake%bugzilla.org

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

Patch by GavinS <bugzilla@chimpychompy.org> r=joel, a=justdave
parent 16a45539
...@@ -290,6 +290,7 @@ sub can_see_bug { ...@@ -290,6 +290,7 @@ sub can_see_bug {
$sth->execute($bugid); $sth->execute($bugid);
my ($reporter, $owner, $qacontact, $reporter_access, $cclist_access, my ($reporter, $owner, $qacontact, $reporter_access, $cclist_access,
$isoncclist, $missinggroup) = $sth->fetchrow_array(); $isoncclist, $missinggroup) = $sth->fetchrow_array();
$sth->finish;
$self->{sthCanSeeBug} = $sth; $self->{sthCanSeeBug} = $sth;
return ( (($reporter == $userid) && $reporter_access) return ( (($reporter == $userid) && $reporter_access)
|| (Param('useqacontact') && ($qacontact == $userid) && $userid) || (Param('useqacontact') && ($qacontact == $userid) && $userid)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment