bad boolean logic for impossible stream

This commit is contained in:
Evan Prodromou 2012-03-21 16:26:33 -04:00
parent 473f6ffac9
commit 0f0ddbe0c3
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}