Skip to content

Commit

Permalink
Fixing typo in sqlite driver
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Jan 4, 2011
1 parent 665e560 commit 4948280
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/libs/model/datasources/dbo/dbo_sqlite.php
Expand Up @@ -334,7 +334,7 @@ function fetchResult() {
if ($row = $this->_result->fetch()) {
$resultRow = array();
foreach ($this->map as $col => $meta) {
list($table, $column, $tpye) = $meta;
list($table, $column, $type) = $meta;
$resultRow[$table][$column] = $row[$col];
if ($type == 'boolean' && !is_null($row[$col])) {
$resultRow[$table][$column] = $this->boolean($resultRow[$table][$column]);
Expand Down

0 comments on commit 4948280

Please sign in to comment.