]> source.dussan.org Git - redmine.git/commitdiff
Close statement handler in Redmine.pm (#1433).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 15 Jun 2008 09:43:53 +0000 (09:43 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 15 Jun 2008 09:43:53 +0000 (09:43 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1539 e93f8b46-1217-0410-a6f0-8f06a7374b81

extra/svn/Redmine.pm

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