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

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1539 e93f8b46-1217-0410-a6f0-8f06a7374b81
pull/351/head
Jean-Philippe Lang 17 years ago
parent 2b3009d91d
commit 622798a5ed
  1. 1
      extra/svn/Redmine.pm

@ -235,6 +235,7 @@ sub is_public_project {
$sth->execute($project_id); $sth->execute($project_id);
my $ret = $sth->fetchrow_array ? 1 : 0; my $ret = $sth->fetchrow_array ? 1 : 0;
$sth->finish();
$dbh->disconnect(); $dbh->disconnect();
$ret; $ret;

Loading…
Cancel
Save