summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla')
-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)