forked from GNUsocial/gnu-social
use Profile::getUri() to get a profile's URI
This commit is contained in:
@@ -1255,7 +1255,7 @@ class Notice extends Memcached_DataObject
|
|||||||
foreach ($reply_ids as $id) {
|
foreach ($reply_ids as $id) {
|
||||||
$profile = Profile::staticGet('id', $id);
|
$profile = Profile::staticGet('id', $id);
|
||||||
if (!empty($profile)) {
|
if (!empty($profile)) {
|
||||||
$ctx->attention[] = $profile->uri;
|
$ctx->attention[] = $profile->getUri();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user