diff --git a/www/landscape/outdoorevents/index.php b/www/landscape/outdoorevents/index.php index a75c1fbe7be6672a805b8e60d9c779ed255887bd..aa96077ff7c5bf83583d08e4c955de36a6006798 100644 --- a/www/landscape/outdoorevents/index.php +++ b/www/landscape/outdoorevents/index.php @@ -14,7 +14,9 @@ function escape_csv_value($value) { } } -if (!empty($_POST)) { +if (!empty($_POST) + && $_POST['recycle_number'] < 1000 //very basic spam prevention + ) { $error_msg = ''; if (in_array($_POST['location'], array("lied","union","sheldon","wick"))) {