aboutsummaryrefslogtreecommitdiff
path: root/view/feedback.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--view/feedback.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/view/feedback.php b/view/feedback.php
index 73b0241..f603dbf 100644
--- a/view/feedback.php
+++ b/view/feedback.php
@@ -1,6 +1,9 @@
<?php
$feedback = new Feedback();
+if(!$feedback->isEnabled())
+ throw new NotFoundException('Feedback is disabled');
+
$info = $_POST;
if(!$feedback->validate($info)) {