fix filter
This commit is contained in:
parent
5455fe1c44
commit
71635ab255
|
@ -56,7 +56,7 @@
|
|||
echo '<div><a href=note.php?title=' . urlencode($name) . '>' . $name .'</a>';
|
||||
if ($filter && str_contains(cleanstring($content), cleanstring($filter)))
|
||||
{
|
||||
$pos = strpos(cleanstring($content), cleanstring($$filter));
|
||||
$pos = strpos(cleanstring($content), cleanstring($filter));
|
||||
echo '<span class="grey"> ' . $filter . substr($content, $pos + strlen($filter), 42) . '</span>';
|
||||
}
|
||||
echo'</div>';
|
||||
|
|
Loading…
Reference in New Issue