From: Evan Prodromou Date: Wed, 21 Mar 2012 20:26:33 +0000 (-0400) Subject: bad boolean logic for impossible stream X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e76b191c4b31018194cb1bb0c9af70989a182737;p=quix0rs-gnu-social.git bad boolean logic for impossible stream --- 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; }