Skip to content

Commit

Permalink
Fix bug #41891
Browse files Browse the repository at this point in the history
  • Loading branch information
gvollbach committed Aug 9, 2024
1 parent 4a3bccc commit 99cab04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/Forum/classes/class.ilObjForumGUI.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 99cab04

Please sign in to comment.