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