Fix newQuestions console error mandatory null
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
This commit is contained in:
parent
6a52d83675
commit
4cef26a2c8
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue