Revert adding DBA::toArray to Item::selectToArray

This commit is contained in:
Hypolite Petovan 2019-07-28 00:12:49 -04:00
parent 3334a3d497
commit 50f3098495

View File

@ -386,7 +386,13 @@ class Item extends BaseObject
return []; return [];
} }
return DBA::toArray($result); $data = [];
while ($row = self::fetch($result)) {
$data[] = $row;
}
DBA::close($result);
return $data;
} }
/** /**