aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-01-26 09:21:21 +0000
committerMario <mario@mariovavti.com>2021-01-26 09:21:21 +0000
commit1c8d298f3f13ad358693d2ec8016e49043f2250f (patch)
tree0be219da32d5cf324915b0d15dd8e6b24d75a5ac /Zotlabs
parent777af6e7ad6c6307567010cee262a0f1d8831083 (diff)
parent82dbdf7c70dddeb88fd698c20bdba83e847a8109 (diff)
downloadvolse-hubzilla-1c8d298f3f13ad358693d2ec8016e49043f2250f.tar.gz
volse-hubzilla-1c8d298f3f13ad358693d2ec8016e49043f2250f.tar.bz2
volse-hubzilla-1c8d298f3f13ad358693d2ec8016e49043f2250f.zip
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Lib/Activity.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php
index 3afc70b28..8ad114a4d 100644
--- a/Zotlabs/Lib/Activity.php
+++ b/Zotlabs/Lib/Activity.php
@@ -292,7 +292,7 @@ class Activity {
$ret = [
'id' => z_root() . '/' . $id,
'type' => $type,
- 'totalItems' => $total,
+ 'totalItems' => count($items),
];
}
@@ -312,9 +312,6 @@ class Activity {
if ($t) {
$x[] = $t;
}
- if ($t) {
- $x[] = $t;
- }
}
if ($type === 'OrderedCollection') {
$ret['orderedItems'] = $x;