Fix broken fix fix
This commit is contained in:
parent
8b602597d3
commit
028003d4db
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user