Skip to content
Snippets Groups Projects
Commit e269b440 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

prevent php8 warning, re #912

parent dff46b31
No related branches found
No related tags found
No related merge requests found
......@@ -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), [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment