From: Evan Prodromou Date: Tue, 24 Apr 2012 01:01:34 +0000 (-0400) Subject: fixup check on profile notice stream X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2eed1e2ae26d2e9b9429c7c941adc3c6be80a5b1;p=quix0rs-gnu-social.git fixup check on profile notice stream --- diff --git a/lib/profilenoticestream.php b/lib/profilenoticestream.php index dc825c9fb1..f7154a52be 100644 --- a/lib/profilenoticestream.php +++ b/lib/profilenoticestream.php @@ -95,7 +95,7 @@ class ProfileNoticeStream extends ScopingNoticeStream if (common_config('notice', 'hidespam')) { if ($this->streamProfile->hasRole(Profile_role::SILENCED) && - (empty($this->userProfile) || ($this->userProfile->id !== $this->streamProfile->id) && !$this->userProfile->hasRight(Right::REVIEWSPAM))) { + (empty($this->userProfile) || (($this->userProfile->id !== $this->streamProfile->id) && !$this->userProfile->hasRight(Right::REVIEWSPAM)))) { return true; } }