diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-10-17 11:48:39 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-10-17 11:48:39 +0000 |
| commit | 040d121fba600f262c126250cd9c904e725cb53c (patch) | |
| tree | cb0fa91c4afad19b9de20fc20dce12bad365218e /lib/modules/CoreParticipants.php | |
| parent | 339b5ec4d92d35be6443dc14998b6eaf0d9ae859 (diff) | |
fix link parameters for modules, fixes #4707
Closes #4707
Merge request studip/studip!3501
Diffstat (limited to 'lib/modules/CoreParticipants.php')
| -rw-r--r-- | lib/modules/CoreParticipants.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/modules/CoreParticipants.php b/lib/modules/CoreParticipants.php index b2f1948..ddc0686 100644 --- a/lib/modules/CoreParticipants.php +++ b/lib/modules/CoreParticipants.php @@ -93,7 +93,7 @@ class CoreParticipants extends CorePlugin implements StudipModule $result = $statement->fetch(PDO::FETCH_ASSOC); if ($result['neue']) { - $navigation->setImage(Icon::create('persons', Icon::ROLE_ATTENTION), [ + $navigation->setImage(Icon::create('persons', Icon::ROLE_ATTENTION, [ 'title' => sprintf( ngettext( '%1$d Teilnehmende/r, %2$d neue/r', @@ -103,7 +103,7 @@ class CoreParticipants extends CorePlugin implements StudipModule $result['count'], $result['neue'] ) - ]); + ])); $navigation->setBadgeNumber($result['neue']); } elseif ($result['count']) { $navigation->setLinkAttributes([ |
