forked from GNUsocial/gnu-social
use Profile::getUri() to get a profile's URI
This commit is contained in:
parent
f7ec40fa42
commit
556a2a8fd8
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user