diff --git a/Modules/Forum/classes/class.ilForumExportGUI.php b/Modules/Forum/classes/class.ilForumExportGUI.php index 5d5389d89be8..978c7263c088 100755 --- a/Modules/Forum/classes/class.ilForumExportGUI.php +++ b/Modules/Forum/classes/class.ilForumExportGUI.php @@ -376,7 +376,7 @@ public function exportHTML(): void ); } else { if($this->ref_id > 0) { - $obj_id = $this->ilObjDataCache->lookupObjId($this->ref_id); + $obj_id = $this->ilObjDataCache->lookupObjId($this->ref_id); $topics = ilForum::getSortedThreadSubjects($obj_id); if(count($topics) > 0) { $thread_ids = array_keys($topics); diff --git a/Modules/Forum/classes/class.ilObjForumGUI.php b/Modules/Forum/classes/class.ilObjForumGUI.php index 48eab4c5f555..5f4b6ff065c6 100755 --- a/Modules/Forum/classes/class.ilObjForumGUI.php +++ b/Modules/Forum/classes/class.ilObjForumGUI.php @@ -857,14 +857,14 @@ protected function renderThreadOverview(ilForumThreadObject $tbl, ilForum $frm, $this->tpl->setContent($default_html . $modals); } - protected function getThreadSortation() { + protected function getThreadSortation() : int { if($this->http->wrapper()->query()->has('thread_sortation')){ $this->thread_sortation = $this->http->wrapper()->query()->retrieve('thread_sortation', $this->refinery->kindlyTo()->int()); } return $this->thread_sortation; } - protected function getThreadOffset() { + protected function getThreadOffset() : int { $offset = 0; if($this->http->wrapper()->query()->has('page')){ $offset = $this->http->wrapper()->query()->retrieve('page', $this->refinery->kindlyTo()->int()); @@ -1131,7 +1131,7 @@ protected function markModeratorPostInOverview( ) : Item { $df = new \ILIAS\Data\Factory(); if ($this->objProperties->getMarkModeratorPosts() && ilForum::_isModerator($ref_id, $author_id)) { - $list_item = $list_item->withColor($df->color('#4c6586')); + $list_item = $list_item->withColor($df->color('#f3de2c')); } return $list_item; }