Fix bad fix

This commit is contained in:
Timothy Warren 2012-03-28 21:13:59 -04:00
parent ff3fba3e37
commit 8b602597d3
1 changed files with 164 additions and 164 deletions

View File

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