drop open if search match

This commit is contained in:
quenousimporte 2024-10-07 09:05:27 +02:00
parent cd8d52249c
commit 959a68a4bb
1 changed files with 0 additions and 5 deletions

View File

@ -259,11 +259,6 @@
{ {
continue; continue;
} }
else if (isset($_GET['search']) && $param == $name)
{
header('Location: index.php?open=true&param=' . urlencode($name));
die();
}
} }
echo '<div><a href=index.php?open=true&param=' . urlencode($name) . '>' . $name .'</a>'; echo '<div><a href=index.php?open=true&param=' . urlencode($name) . '>' . $name .'</a>';
if (isset($_GET['search']) && str_contains(cleanstring($content), cleanstring($param))) if (isset($_GET['search']) && str_contains(cleanstring($content), cleanstring($param)))