bad boolean logic for impossible stream

This commit is contained in:
Evan Prodromou 2012-03-21 16:26:33 -04:00
parent 51229ca662
commit e76b191c4b
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;
}