aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-10-25 16:15:39 -0700
committerzotlabs <mike@macgirvin.com>2016-10-25 16:15:39 -0700
commit7b713e25768a36ea032b683eb1763578102166d0 (patch)
treed914b15ddc0f87d59baaf988676d61399f0b8a7a /include
parent25982f04756beef6677afbda06113f08d3521a5d (diff)
downloadvolse-hubzilla-7b713e25768a36ea032b683eb1763578102166d0.tar.gz
volse-hubzilla-7b713e25768a36ea032b683eb1763578102166d0.tar.bz2
volse-hubzilla-7b713e25768a36ea032b683eb1763578102166d0.zip
pdo - fetch assoc only
Diffstat (limited to 'include')
-rwxr-xr-xinclude/dba/dba_pdo.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dba/dba_pdo.php b/include/dba/dba_pdo.php
index 1d0b142aa..526bf765c 100755
--- a/include/dba/dba_pdo.php
+++ b/include/dba/dba_pdo.php
@@ -54,7 +54,7 @@ class dba_pdo extends dba_driver {
$select = ((stripos($sql,'select') === 0) ? true : false);
try {
- $result = $this->db->query($sql);
+ $result = $this->db->query($sql, PDO::FETCH_ASSOC);
}
catch(PDOException $e) {