From e76b191c4b31018194cb1bb0c9af70989a182737 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; } -- 2.39.5