aboutsummaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/contact.controller.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/controllers/contact.controller.php b/app/controllers/contact.controller.php
index f7fa5ed..504b979 100644
--- a/app/controllers/contact.controller.php
+++ b/app/controllers/contact.controller.php
@@ -43,8 +43,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
]
);
- $form->submit();
- return;
+ return $form->submit();
}
require '../app/views/contact.view.php';