Close statement handler in Redmine.pm (#1433).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1539 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
2b3009d91d
commit
622798a5ed
|
@ -235,6 +235,7 @@ sub is_public_project {
|
|||
|
||||
$sth->execute($project_id);
|
||||
my $ret = $sth->fetchrow_array ? 1 : 0;
|
||||
$sth->finish();
|
||||
$dbh->disconnect();
|
||||
|
||||
$ret;
|
||||
|
|
Loading…
Reference in New Issue