diff options
| author | Jan-Hendrik Willms <tleilax+github@gmail.com> | 2023-11-30 13:26:59 +0100 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+github@gmail.com> | 2023-11-30 13:26:59 +0100 |
| commit | e269b4409b52285d15ff84b77eb447e2e2fa05cc (patch) | |
| tree | 734d5b95bfc5672d24d6f6d8650c5ff52a8426e6 /lib/modules/CoreOverview.class.php | |
| parent | dff46b319d51eec5f497b9198c03768a076a4874 (diff) | |
prevent php8 warning, re #912
Diffstat (limited to 'lib/modules/CoreOverview.class.php')
| -rw-r--r-- | lib/modules/CoreOverview.class.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/modules/CoreOverview.class.php b/lib/modules/CoreOverview.class.php index aa24883..98f8adc 100644 --- a/lib/modules/CoreOverview.class.php +++ b/lib/modules/CoreOverview.class.php @@ -41,6 +41,7 @@ class CoreOverview extends CorePlugin implements StudipModule } $nav = new Navigation(_('Ankündigungen'), ''); + $url_params = []; if ($result['neue']) { $url_params = ['unread_news' => 'yes']; $nav->setImage(Icon::create('news', Icon::ROLE_ATTENTION), [ |
