diff options
author | Evan Prodromou <evan@status.net> | 2010-02-21 22:41:02 -0500 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-02-21 22:41:02 -0500 |
commit | 13fb7bef783faae497069485546b92b897662987 (patch) | |
tree | fe6e36a6018813ff55c0ab31fd1bcef0531f5177 /plugins/OStatus/actions/usersalmon.php | |
parent | de522d7978e0a843e338561b35a98b3e47a1e93c (diff) |
reversed in_array() arguments in UsersalmonAction
Diffstat (limited to 'plugins/OStatus/actions/usersalmon.php')
-rw-r--r-- | plugins/OStatus/actions/usersalmon.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/OStatus/actions/usersalmon.php b/plugins/OStatus/actions/usersalmon.php index 12c74798f..3c0f72855 100644 --- a/plugins/OStatus/actions/usersalmon.php +++ b/plugins/OStatus/actions/usersalmon.php @@ -80,7 +80,7 @@ class UsersalmonAction extends SalmonAction throw new ClientException("In reply to a notice not by this user"); } } else if (!empty($context->attention)) { - if (!in_array($context->attention, $this->user->uri)) { + if (!in_array($this->user->uri, $context->attention)) { throw new ClientException("To the attention of user(s) not including this one!"); } } else { |