зеркало из https://github.com/mozilla/pjs.git
Bug 261821 - Bugzilla now properly calls 'finish' on the DBI handle in CanSeeBug()
Patch by GavinS <bugzilla@chimpychompy.org> r=joel, a=justdave
This commit is contained in:
Родитель
741ae0aa2c
Коммит
b84a7fcda8
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче