private group fix

This commit is contained in:
Evan Prodromou 2012-03-21 16:33:10 -04:00
parent 09b80a6e90
commit 6e04133427

View File

@ -83,7 +83,7 @@ class GroupNoticeStream extends ScopingNoticeStream
function impossibleStream() function impossibleStream()
{ {
if ($this->group->force_scope && if ($this->group->force_scope &&
(empty($this->userProfile) || !$this->userProfile->isMember($group))) { (empty($this->userProfile) || !$this->userProfile->isMember($this->group))) {
return true; return true;
} }