From 0f0ddbe0c3680697163d311052d80d85e1b8a27a Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 21 Mar 2012 16:26:33 -0400 Subject: [PATCH] bad boolean logic for impossible stream --- lib/profilenoticestream.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/profilenoticestream.php b/lib/profilenoticestream.php index af59b0cc99..cd89769ec2 100644 --- a/lib/profilenoticestream.php +++ b/lib/profilenoticestream.php @@ -87,7 +87,7 @@ class ProfileNoticeStream extends ScopingNoticeStream // If it's a private stream, and no user or not a subscriber if (!empty($user) && $user->private_stream && - empty($this->userProfile) || !$this->userProfile->isSubscribed($this->streamProfile)) { + (empty($this->userProfile) || !$this->userProfile->isSubscribed($this->streamProfile))) { return true; }