mirror of
https://github.com/redmine/redmine.git
synced 2025-11-02 03:15:57 +01:00
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:
@@ -235,6 +235,7 @@ sub is_public_project {
|
||||
|
||||
$sth->execute($project_id);
|
||||
my $ret = $sth->fetchrow_array ? 1 : 0;
|
||||
$sth->finish();
|
||||
$dbh->disconnect();
|
||||
|
||||
$ret;
|
||||
|
||||
Reference in New Issue
Block a user