]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
private group fix
authorEvan Prodromou <evan@status.net>
Wed, 21 Mar 2012 20:33:10 +0000 (16:33 -0400)
committerEvan Prodromou <evan@status.net>
Wed, 21 Mar 2012 20:33:23 +0000 (16:33 -0400)
lib/groupnoticestream.php

index 65db308df59f44ee8a9db71efbb3ad0c1a49d21d..723f064cb3523dab13b8de075fbd66b0e140ff1a 100644 (file)
@@ -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;
         }