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

This commit is contained in:
2025-09-29 13:24:56 -07:00
parent 3a68eaba86
commit a2f1748ff6
9 changed files with 87 additions and 10 deletions

View File

@@ -17,7 +17,7 @@ $onlyShowValue = (string)$post['onlyShowValue'] ?? '';
$currentIcons = json_decode(base64_decode((string)($post['currentIcons'] ?? 'W10K')));
$where = ["u.banned = 0", "(c.state = 1 OR c.state = 2)"];
$params = [];
$params = new stdClass();
$types = "";
$order = match($sortBy) {
1 => "ORDER BY c.price ASC",