dblayeroo: Add the PDO::FETCH_ASSOC to directQuery

git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3853 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2017-07-31 14:59:31 +00:00
parent 443a2bcada
commit c63a30eebf

View File

@@ -2848,7 +2848,7 @@ class dblayeroo
{
if (! key_exists ($this->dsn, self::$instance))
$this->DBException ("Direct query without established connection");
return self::$instance[$this->dsn]->query ($sql);
return self::$instance[$this->dsn]->query ($sql, PDO::FETCH_ASSOC);
}
/* }}} */