Merge pull request #387 from nextcloud/fix/newQuestionMandatory

Fix newQuestions console error mandatory null
This commit is contained in:
Jan C. Borchardt 2020-05-18 13:16:56 +02:00 committed by GitHub
commit 9376587ddd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -307,6 +307,7 @@ class ApiController extends Controller {
$question->setOrder($questionOrder);
$question->setType($type);
$question->setText($text);
$question->setMandatory(false);
$question = $this->questionMapper->insert($question);