aboutsummaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2019-06-01 18:18:32 -0400
committerThedro Neely <thedroneely@gmail.com>2019-06-01 18:18:32 -0400
commit2da79b1bd40903724c0439b2dc987de9b682c90f (patch)
treedeb6e74109c0c2ea77a6be08a18363796336547d /app/controllers
parent45ed41c62c6bd7aa49bee55c343c203aeb06f3a0 (diff)
downloadthedroneely.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.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';