diff --git a/lib/Db/Form.php b/lib/Db/Form.php index 239f9635c..bd071e03d 100644 --- a/lib/Db/Form.php +++ b/lib/Db/Form.php @@ -215,7 +215,7 @@ public function read() { 'confirmationEmailSubject' => $this->getConfirmationEmailSubject(), 'confirmationEmailBody' => $this->getConfirmationEmailBody(), 'confirmationEmailQuestionId' => $this->getConfirmationEmailQuestionId(), - 'allowComments' => $this->getAllowComments(), + 'allowComments' => (bool)$this->getAllowComments(), ]; } }