Commit 029b9aeb authored by guilhermeblanco's avatar guilhermeblanco

[2.0] Added missing connect() call in Connection:quote, which was throwing...

[2.0] Added missing connect() call in Connection:quote, which was throwing E_FATAL when using DQL. Thanks Damon Jones for the report
parent c7ea8c78
...@@ -519,6 +519,8 @@ class Connection ...@@ -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);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment