From 5b9319d081309264772100a25d15e2db0538ccb6 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 7 Apr 2011 10:52:28 -0400 Subject: [PATCH] profiles were getting overwritten in Notice::asActivity() --- classes/Notice.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/classes/Notice.php b/classes/Notice.php index 363e52dbdd..c908e7e3a7 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -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(); } } -- 2.39.5