aboutsummaryrefslogtreecommitdiffstats
path: root/lib
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:48:56 +0000
commit759dd70843425d7fb63d515a8f376773dc841e21 (patch)
tree34d271a1d4443a4c0017e0f23e325cdb63d77889 /lib
parent124b565c33e81f7a0c01a2ec62542e4eda21ef35 (diff)
downloadnextcloud-server-759dd70843425d7fb63d515a8f376773dc841e21.tar.gz
nextcloud-server-759dd70843425d7fb63d515a8f376773dc841e21.zip
fix(Comment): Initialize childrenCount as integerbackport/48017/stable28
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'lib')
-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 35e88c74438..da1383223a9 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' => '',