summaryrefslogtreecommitdiffstats
path: root/lib/Service/AccountService.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Service/AccountService.php')
-rw-r--r--lib/Service/AccountService.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Service/AccountService.php b/lib/Service/AccountService.php
index 004aac51..d7ff1941 100644
--- a/lib/Service/AccountService.php
+++ b/lib/Service/AccountService.php
@@ -280,7 +280,7 @@ class AccountService {
'following' => $this->followsRequest->countFollowing($actor->getId()),
'post' => $this->streamRequest->countNotesFromActorId($actor->getId())
];
- $actor->addDetailArray('count', $count);
+ $actor->setDetailArray('count', $count);
}