From 2fc4bc9dca86d5a96a812cd23f1f5096f2dcc725 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Tue, 31 Mar 2015 17:15:53 +0200 Subject: Move Feedback-Availability Checks to View --- view/feedback.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'view') 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 @@ isEnabled()) + throw new NotFoundException('Feedback is disabled'); + $info = $_POST; if(!$feedback->validate($info)) { -- cgit v1.2.3