[web] alerts - fixed double quotes and escaped html

Signed-off-by: Kristian Feldsam <feldsam@gmail.com>
This commit is contained in:
Kristian Feldsam
2021-10-16 15:23:39 +02:00
parent aa8d44f91e
commit a7612e6c39
2 changed files with 2 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ if (is_array($alertbox_log_parser)) {
}
$alert = array_filter(array_unique($alerts));
foreach($alert as $alert_type => $alert_msg) {
$alerts[$alert_type] = json_encode(implode('<hr class="alert-hr">', $alert_msg));
$alerts[$alert_type] = implode('<hr class="alert-hr">', $alert_msg);
}
unset($_SESSION['return']);
}