profiles were getting overwritten in Notice::asActivity()
This commit is contained in:
parent
703f19a108
commit
5b9319d081
|
@ -1391,9 +1391,9 @@ class Notice extends Memcached_DataObject
|
||||||
$reply_ids = $this->getReplies();
|
$reply_ids = $this->getReplies();
|
||||||
|
|
||||||
foreach ($reply_ids as $id) {
|
foreach ($reply_ids as $id) {
|
||||||
$profile = Profile::staticGet('id', $id);
|
$rprofile = Profile::staticGet('id', $id);
|
||||||
if (!empty($profile)) {
|
if (!empty($rprofile)) {
|
||||||
$ctx->attention[] = $profile->getUri();
|
$ctx->attention[] = $rprofile->getUri();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user