Fix minor edge case

This commit is contained in:
Timothy Warren 2012-04-10 15:47:59 -04:00
parent b3306772f9
commit 49aa73196f
2 changed files with 6 additions and 2 deletions

View File

@ -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.