diff --git a/lib/Doctrine/DBAL/Connection.php b/lib/Doctrine/DBAL/Connection.php index 9be0165dc..af45463b1 100644 --- a/lib/Doctrine/DBAL/Connection.php +++ b/lib/Doctrine/DBAL/Connection.php @@ -519,6 +519,8 @@ class Connection */ public function quote($input, $type = null) { + $this->connect(); + return $this->_conn->quote($input, $type); }