Use class variables

This commit is contained in:
Michael 2023-09-17 05:57:44 +00:00
parent 02084331e3
commit e81c911b49
3 changed files with 4 additions and 6 deletions

View file

@ -39,7 +39,7 @@ class Community extends CommunityModule
$this->parseRequest($request);
$o = '';
if (!empty($request['force'])) {
if ($this->force) {
$o = DI::conversation()->render($this->getCommunityItems(), Conversation::MODE_COMMUNITY, true, false, 'commented', DI::userSession()->getLocalUserId());
}