zomg
This commit is contained in:
parent
36786486de
commit
e4c7816d46
@ -67,7 +67,7 @@ EMPTY_SLOT;
|
||||
$dressed_items = db::c()->query('SELECT * FROM inventory WHERE owner_id = ?i AND dressed_slot > 0', $this->id);
|
||||
$dressed_items_row = $dressed_items->fetch_assoc();
|
||||
for ($i = 1; $i <= 11; $i++) {
|
||||
$dressed_item[$dressed_items_row['dressed_slot']] = $dressed_items_row ?? 0;
|
||||
$dressed_item[$i] = $dressed_items_row ?? null;
|
||||
}
|
||||
// while ($row = $dressed_items->fetch_assoc()) {
|
||||
// $dressed_item[$row['dressed_slot']] = $row;
|
||||
|
Loading…
Reference in New Issue
Block a user