From 71635ab2553f5f23339a9da36cdd6904f2c05e92 Mon Sep 17 00:00:00 2001 From: quenousimporte Date: Thu, 10 Oct 2024 10:47:54 +0200 Subject: [PATCH] fix filter --- index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index 8f0d12d..002308e 100644 --- a/index.php +++ b/index.php @@ -56,7 +56,7 @@ echo '
' . $name .''; if ($filter && str_contains(cleanstring($content), cleanstring($filter))) { - $pos = strpos(cleanstring($content), cleanstring($$filter)); + $pos = strpos(cleanstring($content), cleanstring($filter)); echo ' ' . $filter . substr($content, $pos + strlen($filter), 42) . ''; } echo'
'; @@ -64,4 +64,4 @@ ?> - \ No newline at end of file +