]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 261821 - Bugzilla now properly calls 'finish' on the DBI handle in CanSeeBug()
authorjake%bugzilla.org <>
Fri, 24 Dec 2004 17:56:30 +0000 (17:56 +0000)
committerjake%bugzilla.org <>
Fri, 24 Dec 2004 17:56:30 +0000 (17:56 +0000)
Patch by GavinS <bugzilla@chimpychompy.org>
r=joel, a=justdave

Bugzilla/User.pm

index 5c9b80c072f88a3c8b4ecfa309bb32b05854deee..e664199418504823390311fe68f5c73e1c0e5e9e 100644 (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)