[2.0] Added missing connect() call in Connection:quote, which was throwing E_FATAL when using DQL. Thanks Damon Jones for the report
This commit is contained in:
parent
c7ea8c78d3
commit
029b9aeb5d
@ -519,6 +519,8 @@ class Connection
|
|||||||
*/
|
*/
|
||||||
public function quote($input, $type = null)
|
public function quote($input, $type = null)
|
||||||
{
|
{
|
||||||
|
$this->connect();
|
||||||
|
|
||||||
return $this->_conn->quote($input, $type);
|
return $this->_conn->quote($input, $type);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user