We need to set Db fetchMode as it has previously been done

This commit is contained in:
Thomas Gelf 2013-08-20 23:07:45 +02:00 committed by Eric Lippmann
parent 521ef8cc47
commit 3908974698

View File

@ -117,6 +117,7 @@ class Connection implements DatasourceInterface
} else { } else {
$this->dbType = strtolower(get_class($this->db->getConnection())); $this->dbType = strtolower(get_class($this->db->getConnection()));
} }
$this->db->setFetchMode(Zend_Db::FETCH_OBJ);
if ($this->dbType === null) { if ($this->dbType === null) {
Logger::warn('Could not determine database type'); Logger::warn('Could not determine database type');