Revert adding DBA::toArray to Item::selectToArray
This commit is contained in:
parent
3334a3d497
commit
50f3098495
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue
Block a user