Some more minor fixes, and checks for the temporary 'todo' tag

This commit is contained in:
Alex Cabal 2024-01-18 21:25:22 -06:00
parent f3aa4f35fc
commit fe03f01393
7 changed files with 58 additions and 13 deletions

View file

@ -5,7 +5,7 @@ use function Safe\preg_replace;
$canDownload = false;
$class = HttpInput::Str(GET, 'class');
if($class != 'authors' && $class != 'collections' && $class != 'subjects' && $class != 'months'){
if($class === null || ($class != 'authors' && $class != 'collections' && $class != 'subjects' && $class != 'months')){
Template::Emit404();
}