$author = $this->getProfile();
if ($author->hasRole(Profile_role::SILENCED)) {
- if (empty($profile) || !$profile->hasRight(Right::REVIEWSPAM)) {
+ if (empty($profile) || (($profile->id !== $author->id) && (!$profile->hasRight(Right::REVIEWSPAM)))) {
return true;
}
}