profiles were getting overwritten in Notice::asActivity()

This commit is contained in:
Evan Prodromou 2011-04-07 10:52:28 -04:00
parent 703f19a108
commit 5b9319d081
1 changed files with 3 additions and 3 deletions

View File

@ -1391,9 +1391,9 @@ class Notice extends Memcached_DataObject
$reply_ids = $this->getReplies();
foreach ($reply_ids as $id) {
$profile = Profile::staticGet('id', $id);
if (!empty($profile)) {
$ctx->attention[] = $profile->getUri();
$rprofile = Profile::staticGet('id', $id);
if (!empty($rprofile)) {
$ctx->attention[] = $rprofile->getUri();
}
}