Commit 622798a5 authored by Jean-Philippe Lang's avatar Jean-Philippe Lang

Close statement handler in Redmine.pm (#1433).

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1539 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 2b3009d9
......@@ -235,6 +235,7 @@ sub is_public_project {
$sth->execute($project_id);
my $ret = $sth->fetchrow_array ? 1 : 0;
$sth->finish();
$dbh->disconnect();
$ret;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment