From 30d125f144910817aaffdca1b8a561d322ae9c28 Mon Sep 17 00:00:00 2001 From: Loz Calver Date: Thu, 12 Jan 2017 14:51:19 +0000 Subject: [PATCH] FIX: MySQLQuery::seek() failed to return a row --- src/ORM/Connect/MySQLQuery.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ORM/Connect/MySQLQuery.php b/src/ORM/Connect/MySQLQuery.php index 5db16a270..a8647363e 100644 --- a/src/ORM/Connect/MySQLQuery.php +++ b/src/ORM/Connect/MySQLQuery.php @@ -39,7 +39,8 @@ class MySQLQuery extends Query public function seek($row) { if (is_object($this->handle)) { - return $this->handle->data_seek($row); + $this->handle->data_seek($row); + return $this->handle->fetch_assoc(); } return null; }