diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2022-01-04 15:37:03 +0000 |
|---|---|---|
| committer | Elmar Ludwig <elmar.ludwig@uni-osnabrueck.de> | 2022-01-04 15:37:03 +0000 |
| commit | bfe4b0ec730a669b45bf34ceb1e4d6a4c0dc5d4d (patch) | |
| tree | 60b7407613c62c70704f2ed6c60800dcf407f278 /app/controllers/my_courses.php | |
| parent | 61846383fe2bac11156a24d64fa72cb6657b5913 (diff) | |
fixes #368
Diffstat (limited to 'app/controllers/my_courses.php')
| -rw-r--r-- | app/controllers/my_courses.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/my_courses.php b/app/controllers/my_courses.php index 8a4f472..4892d54 100644 --- a/app/controllers/my_courses.php +++ b/app/controllers/my_courses.php @@ -1003,7 +1003,7 @@ class MyCoursesController extends AuthenticatedController 'url' => $n->getURL(), 'icon' => $this->convertIcon($n->getImage()), 'attr' => $attr, - 'important' => in_array($n->getImage()->getRole(), [Icon::ROLE_ATTENTION, Icon::ROLE_STATUS_RED, Icon::ROLE_NEW]) + 'important' => $n->getImage()->signalsAttention(), ]; } $result[$key] = $item; |
