aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2024-09-15 15:23:10 +0200
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2024-09-15 15:49:47 +0000
commitc4a44e1f4eda3e0ef456c62996b9604912bbbc15 (patch)
treec8fc1a267f8d7e012e9f6252abec024ba2caa50e
parent9b4637b09a004a78b4c9d8df707a8fb197c77162 (diff)
downloadnextcloud-server-backport/48017/stable29.tar.gz
nextcloud-server-backport/48017/stable29.zip
fix(Comment): Initialize childrenCount as integerbackport/48017/stable29
Signed-off-by: provokateurin <kate@provokateurin.de>
-rw-r--r--lib/private/Comments/Comment.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Comments/Comment.php b/lib/private/Comments/Comment.php
index b1261a72520..1de51467d03 100644
--- a/lib/private/Comments/Comment.php
+++ b/lib/private/Comments/Comment.php
@@ -34,7 +34,7 @@ class Comment implements IComment {
'id' => '',
'parentId' => '0',
'topmostParentId' => '0',
- 'childrenCount' => '0',
+ 'childrenCount' => 0,
'message' => '',
'verb' => '',
'actorType' => '',