mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 21:55:15 +00:00
pdo - fetch assoc only
This commit is contained in:
parent
25982f0475
commit
7b713e2576
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
||||
|
|
Loading…
Reference in a new issue