From cb318e276736a32c3e9edf5d07d7046d82f81744 Mon Sep 17 00:00:00 2001 From: Jeremy Shipman Date: Fri, 12 Sep 2014 16:03:50 +1200 Subject: [PATCH] FIX: typo in first() function createDataObject should be createDataObject --- code/SQLQueryList.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/SQLQueryList.php b/code/SQLQueryList.php index ab3de27..6516235 100644 --- a/code/SQLQueryList.php +++ b/code/SQLQueryList.php @@ -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); } }