diff options
author | jake%bugzilla.org <> | 2004-12-24 18:56:30 +0100 |
---|---|---|
committer | jake%bugzilla.org <> | 2004-12-24 18:56:30 +0100 |
commit | e6ad3b4b5a110816ccdfc70df4c643651f0f7561 (patch) | |
tree | f9e1819bf798d9e71ede986fea97d71f989d0dc8 /Bugzilla | |
parent | 16a4553913f69fa9da5e6c816c6c747514630aa2 (diff) | |
download | bugzilla-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
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/User.pm | 1 |
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) |