aboutsummaryrefslogtreecommitdiff
path: root/templates/header.php
diff options
context:
space:
mode:
authorMoritz Strohm <strohm@data-quest.de>2022-05-04 14:18:41 +0000
committerMoritz Strohm <strohm@data-quest.de>2022-05-04 14:18:41 +0000
commit0d95625c2ab0eabe98e724ab79be0087093cc35b (patch)
treef911e16bfb52f4aceacf9e9ad4c8d31923e26a6e /templates/header.php
parente1f835675363c17fbf5d269f6d1d1f84b6727886 (diff)
fix for BIESt #957
Merge request studip/studip!554
Diffstat (limited to 'templates/header.php')
-rw-r--r--templates/header.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/header.php b/templates/header.php
index 8f29921..2f58da9 100644
--- a/templates/header.php
+++ b/templates/header.php
@@ -85,7 +85,7 @@ if (isset($_COOKIE['navigation-length'])) {
$alert = true;
}
} ?>
- <div id="notification_marker"<?= $alert ? ' class="alert"' : "" ?> title="<?= _("Benachrichtigungen") ?>" data-lastvisit="<?= $lastvisit ?>">
+ <div id="notification_marker"<?= !empty($alert) ? ' class="alert"' : "" ?> title="<?= _("Benachrichtigungen") ?>" data-lastvisit="<?= $lastvisit ?>">
<?= count($notifications) ?>
</div>
<div class="list below" id="notification_list">