diff --git a/data/web/inc/footer.inc.php b/data/web/inc/footer.inc.php index a0d6ef1b..3d4b3c33 100644 --- a/data/web/inc/footer.inc.php +++ b/data/web/inc/footer.inc.php @@ -12,7 +12,7 @@ $alertbox_log_parser = alertbox_log_parser($_SESSION); $alerts = []; if (is_array($alertbox_log_parser)) { foreach ($alertbox_log_parser as $log) { - $alert[$log['type']][] = $log['msg']; + $alerts[trim($log['type'], '"')][] = trim($log['msg'], '"'); } $alert = array_filter(array_unique($alerts)); foreach($alert as $alert_type => $alert_msg) { diff --git a/data/web/templates/base.twig b/data/web/templates/base.twig index 1c9a5a3f..41816cb2 100644 --- a/data/web/templates/base.twig +++ b/data/web/templates/base.twig @@ -100,7 +100,7 @@ {% if ui_texts.ui_announcement_text and ui_texts.ui_announcement_active and not is_root_uri %}