diff options
author | MaZderMind | 2016-12-10 18:26:10 +0100 |
---|---|---|
committer | MaZderMind | 2016-12-10 18:26:10 +0100 |
commit | 51ee8234fa7d8c2fbda0705563ab724746dfe9ce (patch) | |
tree | f0da1effc9f55f2f75dc57fe1ba17419d559b45b /view/feedback.php | |
parent | e4141027ad16565b95d64ea262e6909a64cd6e1f (diff) | |
parent | f6c0270d40f6730fe1e1820f2866b08792df1db6 (diff) |
Merge branch 'feature/27-unwind-global-config'
Diffstat (limited to 'view/feedback.php')
-rw-r--r-- | view/feedback.php | 4 |
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); |