From 2993cbfc3c02ef5c925936a34fb7df43743b3918 Mon Sep 17 00:00:00 2001 From: steinm Date: Wed, 12 Oct 2011 06:15:39 +0000 Subject: [PATCH] - SetFetchMode(ADODB_FETCH_ASSOC) --- LetoDMS_Core/Core/inc.DBAccess.php | 1 + 1 file changed, 1 insertion(+) diff --git a/LetoDMS_Core/Core/inc.DBAccess.php b/LetoDMS_Core/Core/inc.DBAccess.php index 18b8f111b..df3c0b559 100644 --- a/LetoDMS_Core/Core/inc.DBAccess.php +++ b/LetoDMS_Core/Core/inc.DBAccess.php @@ -101,6 +101,7 @@ class LetoDMS_Core_DatabaseAccess { if (!$this->_conn) return false; + $this->_conn->SetFetchMode(ADODB_FETCH_ASSOC); $this->_conn->Execute('SET NAMES utf8'); $this->_connected = true; return true;