diff options
author | Thedro Neely <thedroneely@gmail.com> | 2019-06-01 18:18:32 -0400 |
---|---|---|
committer | Thedro Neely <thedroneely@gmail.com> | 2019-06-01 18:18:32 -0400 |
commit | 2da79b1bd40903724c0439b2dc987de9b682c90f (patch) | |
tree | deb6e74109c0c2ea77a6be08a18363796336547d /app/controllers | |
parent | 45ed41c62c6bd7aa49bee55c343c203aeb06f3a0 (diff) | |
download | thedroneely.com-2da79b1bd40903724c0439b2dc987de9b682c90f.tar.gz thedroneely.com-2da79b1bd40903724c0439b2dc987de9b682c90f.tar.bz2 thedroneely.com-2da79b1bd40903724c0439b2dc987de9b682c90f.zip |
app/controllers/contact: Move return up
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/contact.controller.php | 3 |
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'; |