diff --git a/src/Model/Item.php b/src/Model/Item.php index 67a6a2daa..28f7b436d 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -386,7 +386,13 @@ class Item extends BaseObject return []; } - return DBA::toArray($result); + $data = []; + while ($row = self::fetch($result)) { + $data[] = $row; + } + DBA::close($result); + + return $data; } /**