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:51:01 +0000
commit0a1d9f6df77dcdf3e50a8ad048289cdad6d19ad8 (patch)
treed712a684466a980e6a0529723fa98e384dac538c
parentf2deb7710aad128636b88ed484071148867f3bf6 (diff)
downloadnextcloud-server-0a1d9f6df77dcdf3e50a8ad048289cdad6d19ad8.tar.gz
nextcloud-server-0a1d9f6df77dcdf3e50a8ad048289cdad6d19ad8.zip
fix(Comment): Initialize childrenCount as integerbackport/48017/stable30
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 422e29c084d..1090cf67078 100644
--- a/lib/private/Comments/Comment.php
+++ b/lib/private/Comments/Comment.php
@@ -16,7 +16,7 @@ class Comment implements IComment {
'id' => '',
'parentId' => '0',
'topmostParentId' => '0',
- 'childrenCount' => '0',
+ 'childrenCount' => 0,
'message' => '',
'verb' => '',
'actorType' => '',