Probably going to break something but use {} instead of []
This commit is contained in:
@@ -23,8 +23,8 @@ $stmt->execute();
|
||||
$result = $stmt->get_result();
|
||||
$rows = $result->fetch_all(MYSQLI_ASSOC);
|
||||
|
||||
$mapped = [];
|
||||
$icons = [];
|
||||
$mapped = new stdClass();
|
||||
$icons = new stdClass();
|
||||
foreach ($rows as $row) {
|
||||
$savedata = json_decode($row['save_data'], true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user