Fix minor edge case
This commit is contained in:
parent
b3306772f9
commit
49aa73196f
@ -54,7 +54,7 @@ class Query_Builder {
|
||||
private $query_map;
|
||||
|
||||
// Convenience property for connection management
|
||||
public $conn_name;
|
||||
public $conn_name = "";
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
@ -115,7 +115,11 @@ class Query_Builder {
|
||||
$this->db = new $dbtype($dsn);
|
||||
}
|
||||
|
||||
if (isset($params->name))
|
||||
{
|
||||
$this->conn_name = $params->name;
|
||||
}
|
||||
|
||||
|
||||
// Make things just slightly shorter
|
||||
$this->sql =& $this->db->sql;
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user