mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Fixing typo in sqlite driver
This commit is contained in:
parent
665e560310
commit
4948280ba8
1 changed files with 1 additions and 1 deletions
|
@ -334,7 +334,7 @@ class DboSqlite extends DboSource {
|
||||||
if ($row = $this->_result->fetch()) {
|
if ($row = $this->_result->fetch()) {
|
||||||
$resultRow = array();
|
$resultRow = array();
|
||||||
foreach ($this->map as $col => $meta) {
|
foreach ($this->map as $col => $meta) {
|
||||||
list($table, $column, $tpye) = $meta;
|
list($table, $column, $type) = $meta;
|
||||||
$resultRow[$table][$column] = $row[$col];
|
$resultRow[$table][$column] = $row[$col];
|
||||||
if ($type == 'boolean' && !is_null($row[$col])) {
|
if ($type == 'boolean' && !is_null($row[$col])) {
|
||||||
$resultRow[$table][$column] = $this->boolean($resultRow[$table][$column]);
|
$resultRow[$table][$column] = $this->boolean($resultRow[$table][$column]);
|
||||||
|
|
Loading…
Reference in a new issue