Probably going to break something but use {} instead of []

This commit is contained in:
Lncvrt committed 2025-09-29 13:24:56 -07:00
1 parent 3a68eaba86
commit a2f1748ff6
9 files changed
+87 -10

No files matched your search

@@ -11,7 +11,7 @@ $stmt = $conn->prepare("
$stmt->execute();
$result = $stmt->get_result();
$rows = [];
$rows = new stdClass();
while ($row = $result->fetch_assoc()) {
$savedata = json_decode($row['save_data'], true);
$icon = $savedata['bird']['icon'] ?? 1;