From 99cab04d76f949f23b5b2bd3cf67f1be8ae916c5 Mon Sep 17 00:00:00 2001 From: Guido Vollbach Date: Fri, 9 Aug 2024 12:57:29 +0200 Subject: [PATCH] Fix bug #41891 --- Modules/Forum/classes/class.ilObjForumGUI.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/Forum/classes/class.ilObjForumGUI.php b/Modules/Forum/classes/class.ilObjForumGUI.php index c54f14f8185c..47ebee046f2b 100755 --- a/Modules/Forum/classes/class.ilObjForumGUI.php +++ b/Modules/Forum/classes/class.ilObjForumGUI.php @@ -1029,7 +1029,7 @@ private function getActionsForThreadOverview(int $ref_id, ilForumTopic $forum_to $actions = $f->dropdown()->standard([]); - if (ilForum::_isModerator($ref_id, $this->user->getId())) { + if ($this->is_moderator) { $open_close = $this->getOpenCloseActionForThread($forum_topic, $ref_id); $stick_or_no_stick = $this->getStickyActionForThread($forum_topic, $ref_id); $edit_title_modal = $this->getEditTitleModal($forum_topic);