From 390897469894e7048eef1a210edaf401651e0328 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Tue, 20 Aug 2013 23:07:45 +0200 Subject: [PATCH] We need to set Db fetchMode as it has previously been done --- library/Icinga/Data/Db/Connection.php | 1 + 1 file changed, 1 insertion(+) diff --git a/library/Icinga/Data/Db/Connection.php b/library/Icinga/Data/Db/Connection.php index 2a8d118fe..7abe5b0b4 100644 --- a/library/Icinga/Data/Db/Connection.php +++ b/library/Icinga/Data/Db/Connection.php @@ -117,6 +117,7 @@ class Connection implements DatasourceInterface } else { $this->dbType = strtolower(get_class($this->db->getConnection())); } + $this->db->setFetchMode(Zend_Db::FETCH_OBJ); if ($this->dbType === null) { Logger::warn('Could not determine database type');