diff --git a/www/failCount.php b/www/failCount.php index 3294064fa72a2eb95e6ed5699567a58159d9be73..0c199be1f82cf2fdb18647a9dcc31a32e186334d 100644 --- a/www/failCount.php +++ b/www/failCount.php @@ -24,7 +24,8 @@ $valid_errors = array('Failed To Load', 'Recaptcha'); if (isset($_POST['error']) && !empty($_POST['error']) && in_array($_POST['error'], $valid_errors)) { $error = $_POST['error']; } else { - $error = "undefined"; + // If we do not a valid error message we will die + die(); } // Writes to file