From 2eed1e2ae26d2e9b9429c7c941adc3c6be80a5b1 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 23 Apr 2012 21:01:34 -0400 Subject: [PATCH] fixup check on profile notice stream --- lib/profilenoticestream.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }