misplaced dollar sign, also URLs != attention URIs
This commit is contained in:
parent
4520e8c517
commit
b59beb50e6
|
@ -87,10 +87,8 @@ class UsersalmonAction extends SalmonAction
|
||||||
array_key_exists($this->user->id, $notice->getReplies())))
|
array_key_exists($this->user->id, $notice->getReplies())))
|
||||||
{
|
{
|
||||||
// In reply to a notice either from or mentioning this user.
|
// In reply to a notice either from or mentioning this user.
|
||||||
} else if (!empty($context->attention) &&
|
} elseif (!empty($context->attention) &&
|
||||||
(array_key_exists($this->user->uri, $context->attention) ||
|
array_key_exists($this->user->getUri(), $context->attention)) {
|
||||||
array_key_exists($common_profile_url($this->user->getNickname()),
|
|
||||||
$context->attention)))
|
|
||||||
{
|
{
|
||||||
// To the attention of this user.
|
// To the attention of this user.
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user