diff options
-rw-r--r-- | php/upload.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/php/upload.php b/php/upload.php index ee4d8fe..42a8bf6 100644 --- a/php/upload.php +++ b/php/upload.php @@ -2,7 +2,7 @@ require_once "database.php"; require_once "configuration.php"; -if (!isset( $_POST["filename") || !isset($_POST["the_file"]) +if (!isset( $_POST["filename"]) || !isset($_POST["the_file"])) { http_response_code(400); error_log("someone tried to upload something impropperly"); |