Fix Substring for Filter

This commit is contained in:
seiichiro 2022-01-10 15:51:02 +01:00
parent 6b00e57a81
commit d22c565878

View file

@ -92,9 +92,9 @@ if (count($curfiles) > 0) {
Template::view('tpl/single.html', $data); Template::view('tpl/single.html', $data);
} }
} else { } else {
$data['filter'] = substr($filter,2); $data['filter'] = substr($filter,3);
$data['script'] = $_SERVER['PHP_SELF']; $data['script'] = $_SERVER['PHP_SELF'];
Template::view('tpl/notfound.html', $data); Template::view('tpl/notfound.html', $data);
} }
?> ?>