add filters, refactoring

This commit is contained in:
iIronside committed 2021-11-08 12:46:49 +03:00
1 parent 5be69526ac
commit c1c24fc5e4
42 files changed
+12364 -443

No files matched your search

@@ -40,7 +40,7 @@ class AnswerController extends Controller
throw new NotFoundHttpException('Incorrect questionnaire ID');
}
$answers = Answer::getActiveAnswers($question_id);
$answers = Answer::activeAnswers($question_id);
if(empty($answers)) {
throw new NotFoundHttpException('Active questionnaire not found');
}