From: Evan Prodromou Date: Mon, 22 Feb 2010 03:41:02 +0000 (-0500) Subject: reversed in_array() arguments in UsersalmonAction X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=13fb7bef783faae497069485546b92b897662987;p=quix0rs-gnu-social.git reversed in_array() arguments in UsersalmonAction --- diff --git a/plugins/OStatus/actions/usersalmon.php b/plugins/OStatus/actions/usersalmon.php index 12c74798f2..3c0f72855b 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 {