summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjake%bugzilla.org <>2004-12-24 18:56:30 +0100
committerjake%bugzilla.org <>2004-12-24 18:56:30 +0100
commite6ad3b4b5a110816ccdfc70df4c643651f0f7561 (patch)
treef9e1819bf798d9e71ede986fea97d71f989d0dc8
parent16a4553913f69fa9da5e6c816c6c747514630aa2 (diff)
downloadbugzilla-e6ad3b4b5a110816ccdfc70df4c643651f0f7561.tar.gz
bugzilla-e6ad3b4b5a110816ccdfc70df4c643651f0f7561.tar.xz
Bug 261821 - Bugzilla now properly calls 'finish' on the DBI handle in CanSeeBug()
Patch by GavinS <bugzilla@chimpychompy.org> r=joel, a=justdave
-rw-r--r--Bugzilla/User.pm1
1 files changed, 1 insertions, 0 deletions
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)