Skip to content

Commit a138698

Browse files
authored
fix: cast allowComments to boolean (#3381)
Signed-off-by: Christian Hartmann <chris-hartmann@gmx.de>
1 parent 5972f24 commit a138698

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Db/Form.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ public function read() {
215215
'confirmationEmailSubject' => $this->getConfirmationEmailSubject(),
216216
'confirmationEmailBody' => $this->getConfirmationEmailBody(),
217217
'confirmationEmailQuestionId' => $this->getConfirmationEmailQuestionId(),
218-
'allowComments' => $this->getAllowComments(),
218+
'allowComments' => (bool)$this->getAllowComments(),
219219
];
220220
}
221221
}

0 commit comments

Comments
 (0)