misplaced dollar sign, also URLs != attention URIs

This commit is contained in:
Mikael Nordfeldth 2014-05-07 09:19:55 +02:00
parent 4520e8c517
commit b59beb50e6

View File

@ -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 {