diff options
-rwxr-xr-x | include/dba/dba_pdo.php | 2 |
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) { |