From ba462f8e49234e8030b69d18e993109d049cffce Mon Sep 17 00:00:00 2001 From: Lars Gebhardt-Kusche Date: Tue, 30 Dec 2025 00:25:07 +0100 Subject: [PATCH] asdsd --- public/page/community.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/page/community.php b/public/page/community.php index 950df46..6be7699 100644 --- a/public/page/community.php +++ b/public/page/community.php @@ -55,8 +55,8 @@ if ($pdo) { foreach ($tokens as $tok) { $tok = trim($tok); if ($tok === '') continue; - $ph = ':t' . $i++; - $conditions[] = "(ft.title LIKE $ph OR ft.body LIKE $ph)"; + $ph = 't' . $i++; + $conditions[] = "(ft.title LIKE :$ph OR ft.body LIKE :$ph)"; $params[$ph] = '%' . $tok . '%'; } }