aboutsummaryrefslogtreecommitdiff
path: root/view/feedback.php
diff options
context:
space:
mode:
authorMaZderMind2016-12-18 13:34:57 +0100
committerMaZderMind2016-12-18 13:34:57 +0100
commita12d86ec058bc89e6feeda6ec8cfce691269b0a9 (patch)
tree6be1f764a8addd025eb774bcd2039788a4b1873f /view/feedback.php
parent521f0e2e1c94538fdce65a021144180f368364d9 (diff)
parentefd0b59f8ed363e12211894d8892e4d18b198c04 (diff)
Merge branch 'master' into events/33c3
Diffstat (limited to 'view/feedback.php')
-rw-r--r--view/feedback.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/view/feedback.php b/view/feedback.php
index c4ba146..cff9c8e 100644
--- a/view/feedback.php
+++ b/view/feedback.php
@@ -1,11 +1,11 @@
<?php
-$feedback = new Feedback();
-if(!$feedback->isEnabled())
+if(!$conference->hasFeedback())
throw new NotFoundException('Feedback is disabled');
$info = $_POST;
+$feedback = $conference->getFeedback();
if($feedback->validate($info))
{
$feedback->store($info);