Fix bad fix

This commit is contained in:
Timothy Warren 2012-03-28 21:13:59 -04:00
parent ff3fba3e37
commit 8b602597d3

View File

@ -84,11 +84,11 @@ class Query_Builder {
default:
if ( ! empty($params->port))
{
$dsn = "host={$params->host};dbname={$params->database}";
$dsn = "host={$params->host};port={$params->port};dbname={$params->database}";
}
else
{
$dsn = "host={$params->host};port={$params->port};dbname={$params->database}";
$dsn = "host={$params->host};dbname={$params->database}";
}
break;