getSettings(); if (!$settings['private_reputation']) { return true; } else { $user = $this->getUser(); if (in_array($user['id'], array_filter(array($this->getData('poster_id'), $this->getData('user_id'))))) { return true; } } return false; } }