mirror of
https://github.com/standardebooks/web.git
synced 2025-07-22 15:24:46 -04:00
Some more minor fixes, and checks for the temporary 'todo' tag
This commit is contained in:
parent
f3aa4f35fc
commit
fe03f01393
7 changed files with 58 additions and 13 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue