]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
profiles were getting overwritten in Notice::asActivity()
authorEvan Prodromou <evan@status.net>
Thu, 7 Apr 2011 14:52:28 +0000 (10:52 -0400)
committerEvan Prodromou <evan@status.net>
Thu, 7 Apr 2011 14:52:28 +0000 (10:52 -0400)
classes/Notice.php

index 363e52dbdd4ac6ab2c2abb62f9624810fed77d78..c908e7e3a7b87d6708ef3908889f02b7143be3ee 100644 (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();
                 }
             }