Forum: Avoid students to see icon alert - refs BT#21692

pull/5620/head
christianbeeznst 1 year ago
parent 14868fa933
commit 87acfaa4db
  1. 2
      public/main/lp/lp_list.php

@ -816,7 +816,7 @@ foreach ($categories as $category) {
);
$forumSessionIcon = '';
if (learnpath::isForumFromBaseCourse((int) $id)) {
if ($is_allowed_to_edit && learnpath::isForumFromBaseCourse((int) $id)) {
$forumSessionIcon = Display::getMdiIcon('alert-circle', 'ch-tool-icon', '', 22, get_lang('This Learningpath includes a forum from the base course, so once users in a session will participate in this forum, it will start to appear in the forum tool in the session, whereas by default forums from the base course do not appear in the session.'));
}

Loading…
Cancel
Save