Fix broken fix fix

This commit is contained in:
Timothy Warren 2012-03-28 21:58:30 -04:00
parent 8b602597d3
commit 028003d4db
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ class Query_Builder {
} }
// Create the database connection // Create the database connection
if ( ! empty($params->user) && ! empty($params->pass)) if ( ! empty($params->user) && ! empty($params->pass) && $db_type !== 'sqlite')
{ {
$this->db = new $dbtype($dsn, $params->user, $params->pass); $this->db = new $dbtype($dsn, $params->user, $params->pass);
} }