aboutsummaryrefslogtreecommitdiff
path: root/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'controllers')
-rw-r--r--controllers/contact.controller.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/controllers/contact.controller.php b/controllers/contact.controller.php
index 36a0c73..0f988f3 100644
--- a/controllers/contact.controller.php
+++ b/controllers/contact.controller.php
@@ -24,9 +24,8 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
}
if ((bool) $spam == true) {
- http_response_code(403);
error_log('Contact Form Spam: Error 403');
- return;
+ return http_response_code(403);
}
if ($validEmail === false ) {