Don't close the connection for the default link (0) when doing connect checks.

This commit is contained in:
Colin Kuskie 2009-07-21 20:55:21 +00:00
parent 31de49f9d8
commit 6dea4f642a
2 changed files with 2 additions and 1 deletions

View file

@ -326,7 +326,7 @@ sub www_listDatabaseLinks {
}
else {
$output .= $i18n->get('ok');
$connection->disconnect;
$connection->disconnect unless $id eq '0';
}
$output .='</td></tr>';
}