1
0
mirror of synced 2024-12-14 23:26:04 +03:00

[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:
guilhermeblanco 2009-09-05 18:27:37 +00:00
parent c7ea8c78d3
commit 029b9aeb5d

View File

@ -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);
} }