]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
use Profile::getUri() to get a profile's URI
authorEvan Prodromou <evan@status.net>
Tue, 21 Sep 2010 10:21:47 +0000 (06:21 -0400)
committerEvan Prodromou <evan@status.net>
Tue, 21 Sep 2010 10:21:47 +0000 (06:21 -0400)
classes/Notice.php

index 0539ca3b1d14215503e0ecf6036ed53cbeefe264..04dcd24cd50bb2383c9cb9b923f2fa1b7e9a9d24 100644 (file)
@@ -1255,7 +1255,7 @@ class Notice extends Memcached_DataObject
         foreach ($reply_ids as $id) {
             $profile = Profile::staticGet('id', $id);
             if (!empty($profile)) {
-                $ctx->attention[] = $profile->uri;
+                $ctx->attention[] = $profile->getUri();
             }
         }