zomg
This commit is contained in:
parent
27e880df75
commit
36786486de
@ -66,7 +66,7 @@ EMPTY_SLOT;
|
||||
$dressed_item = [];
|
||||
$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 ($dressed_items_row['dressed_slot'] = 1; $dressed_items_row['dressed_slot'] <= $dressed_items->getNumRows(); $dressed_items_row['dressed_slot']++) {
|
||||
for ($i = 1; $i <= 11; $i++) {
|
||||
$dressed_item[$dressed_items_row['dressed_slot']] = $dressed_items_row ?? 0;
|
||||
}
|
||||
// while ($row = $dressed_items->fetch_assoc()) {
|
||||
|
Loading…
Reference in New Issue
Block a user