diff --git a/lib/groupnoticestream.php b/lib/groupnoticestream.php index 65db308df5..723f064cb3 100644 --- a/lib/groupnoticestream.php +++ b/lib/groupnoticestream.php @@ -83,7 +83,7 @@ class GroupNoticeStream extends ScopingNoticeStream function impossibleStream() { if ($this->group->force_scope && - (empty($this->userProfile) || !$this->userProfile->isMember($group))) { + (empty($this->userProfile) || !$this->userProfile->isMember($this->group))) { return true; }