Skip to content

Commit

Permalink
FIX: typo in first() function createDataObject should be createDataOb…
Browse files Browse the repository at this point in the history
…ject
  • Loading branch information
jedateach committed Sep 12, 2014
1 parent f7aebda commit cb318e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/SQLQueryList.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function remove($item){

public function first(){
foreach($this->query->firstRow()->execute() as $row) {
return $this->createDataObject($row);
return $this->createOutputObject($row);
}
}

Expand Down

0 comments on commit cb318e2

Please sign in to comment.