From 72df9797913734e3f33f313fd3ecc85ac99ddca8 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 20 Aug 2013 20:35:54 +0200 Subject: [PATCH] Zend_Db::FETCH_MODE is not available before ZF 1.11 (ZF-6620) * TODO: Check whether passing 'fetchMode' really works?! --- library/Icinga/Application/DbAdapterFactory.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/library/Icinga/Application/DbAdapterFactory.php b/library/Icinga/Application/DbAdapterFactory.php index 2ba026657..92604f5ce 100644 --- a/library/Icinga/Application/DbAdapterFactory.php +++ b/library/Icinga/Application/DbAdapterFactory.php @@ -83,7 +83,8 @@ class DbAdapterFactory implements ConfigAwareFactory private static $defaultZendDbAdapterOptions = array( Zend_Db::AUTO_QUOTE_IDENTIFIERS => false, Zend_Db::CASE_FOLDING => Zend_Db::CASE_LOWER, - Zend_Db::FETCH_MODE => Zend_Db::FETCH_OBJ + // Zend_Db::FETCH_MODE => Zend_Db::FETCH_OBJ + 'fetchMode' => Zend_Db::FETCH_OBJ ); /**