From 79321fa633c61e5b25f195938253dcd44e1fd952 Mon Sep 17 00:00:00 2001 From: Lars Gebhardt-Kusche Date: Tue, 30 Dec 2025 00:28:32 +0100 Subject: [PATCH] YxX --- public/page/community.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/public/page/community.php b/public/page/community.php index 6be7699..8b45d0c 100644 --- a/public/page/community.php +++ b/public/page/community.php @@ -75,7 +75,11 @@ if ($pdo) { ORDER BY ft.created_at DESC LIMIT 50"; $stmt = $pdo->prepare($sql); - $stmt->execute($params); + $bound = []; + foreach ($params as $k => $v) { + $bound[':' . ltrim($k, ':')] = $v; + } + $stmt->execute($bound); $threads = $stmt->fetchAll(PDO::FETCH_ASSOC) ?: []; }