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