diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2026-02-13 13:39:53 +0100 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2026-02-13 13:40:57 +0100 |
| commit | 370a8ddc87e4603ee21b52fab5c1525e636d59e2 (patch) | |
| tree | 5f5a6983b3de5e391d6d7e1710145a18948b0042 | |
| parent | 1625f6774681c9d45fc95e23e4ca1003f0e7107d (diff) | |
restore free courses navigiation in 6.1 and below, re #6248
Merge request studip/studip!4733
| -rw-r--r-- | lib/navigation/CourseNavigation.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/navigation/CourseNavigation.php b/lib/navigation/CourseNavigation.php index 7db8019..947fc67 100644 --- a/lib/navigation/CourseNavigation.php +++ b/lib/navigation/CourseNavigation.php @@ -41,9 +41,7 @@ class CourseNavigation extends Navigation parent::__construct($coursetext, $courselink); - if (User::findCurrent()) { - $this->setImage(Icon::create('seminar', Icon::ROLE_NAVIGATION, ['title' => $courseinfo])); - } + $this->setImage(Icon::create('seminar', Icon::ROLE_NAVIGATION, ['title' => $courseinfo])); } /** |
