1
This commit is contained in:
parent
88fbf9b974
commit
2e9ae0ccee
@ -38,12 +38,12 @@ class Fragment extends BaseModel
|
||||
}
|
||||
|
||||
public static function oldToDto($row){
|
||||
$itemMeta = mt\Item::get($row['item_id']);
|
||||
$itemMeta = mt\Item::get($row['token_id']);
|
||||
$dto = array();
|
||||
if ($itemMeta){
|
||||
$dto = array(
|
||||
'token_id' => $row['token_id'],
|
||||
'item_id' => $row['item_id'],
|
||||
'item_id' => $row['token_id'],
|
||||
'type' => $itemMeta['sub_type'],
|
||||
'parts' => substr($itemMeta['id'],-2,1),
|
||||
'balance' => $row['balance'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user