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:
@@ -2848,7 +2848,7 @@ class dblayeroo
|
|||||||
{
|
{
|
||||||
if (! key_exists ($this->dsn, self::$instance))
|
if (! key_exists ($this->dsn, self::$instance))
|
||||||
$this->DBException ("Direct query without established connection");
|
$this->DBException ("Direct query without established connection");
|
||||||
return self::$instance[$this->dsn]->query ($sql);
|
return self::$instance[$this->dsn]->query ($sql, PDO::FETCH_ASSOC);
|
||||||
}
|
}
|
||||||
/* }}} */
|
/* }}} */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user