Skip to content

Commit

Permalink
Fixed whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
gvollbach committed Oct 26, 2023
1 parent cb90a7c commit cb88f1b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Modules/Forum/classes/class.ilForumExportGUI.php
Original file line number Diff line number Diff line change
Expand Up @@ -374,12 +374,12 @@ public function exportHTML(): void
'thread_ids',
$this->refinery->kindlyTo()->listOf($this->refinery->kindlyTo()->int())
);
} elseif($this->ref_id > 0) {
$obj_id = $this->ilObjDataCache->lookupObjId($this->ref_id);
$topics = ilForum::getSortedThreadSubjects($obj_id);
if (count($topics) > 0) {
$thread_ids = array_keys($topics);
}
} elseif ($this->ref_id > 0) {
$obj_id = $this->ilObjDataCache->lookupObjId($this->ref_id);
$topics = ilForum::getSortedThreadSubjects($obj_id);
if (count($topics) > 0) {
$thread_ids = array_keys($topics);
}
}
array_walk($thread_ids, function (int $threadId) use (&$threads, $isModerator): void {
$thread = new ilForumTopic($threadId, $isModerator);
Expand Down

0 comments on commit cb88f1b

Please sign in to comment.