Fix broken fix fix

This commit is contained in:
Timothy Warren 2012-03-28 21:58:30 -04:00
parent 8b602597d3
commit 028003d4db

View File

@ -102,7 +102,7 @@ class Query_Builder {
}
// 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);
}