From 751edaf61431f6fa4c5c535da630b3979abdc0ce Mon Sep 17 00:00:00 2001 From: Christian Hartmann Date: Fri, 5 Jun 2026 12:06:39 +0200 Subject: [PATCH] fix: cast allowComments to boolean Signed-off-by: Christian Hartmann --- lib/Db/Form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(), ]; } }