Release 1.2.0-RC3
This commit is contained in:
parent
6f1b1b814d
commit
67e79ceba3
|
@ -15,13 +15,13 @@
|
|||
],
|
||||
"require": {
|
||||
"php": ">=7.1.0",
|
||||
"fuzeworks/core": "1.2.0-RC2",
|
||||
"fuzeworks/mvcr": "1.2.0-RC2",
|
||||
"fuzeworks/core": "1.2.0-RC3",
|
||||
"fuzeworks/mvcr": "1.2.0-RC3",
|
||||
"ext-pdo": "*"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^7",
|
||||
"fuzeworks/tracycomponent": "1.2.0-RC2"
|
||||
"fuzeworks/tracycomponent": "1.2.0-RC3"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
|
|
|
@ -167,6 +167,9 @@ class PDOTableModel implements iDatabaseTableModel
|
|||
|
||||
// And return the result
|
||||
$fetchMode = (isset($options['fetchMode']) ? $options['fetchMode'] : PDO::FETCH_ASSOC);
|
||||
if (is_array($fetchMode))
|
||||
return $this->lastStatement->fetchAll(...$fetchMode);
|
||||
|
||||
return $this->lastStatement->fetchAll($fetchMode);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue