summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/pages/admin_log.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/pages/admin_log.php b/includes/pages/admin_log.php
index 2a736aa5..24903f6d 100644
--- a/includes/pages/admin_log.php
+++ b/includes/pages/admin_log.php
@@ -25,6 +25,7 @@ function admin_log()
$entries = [];
foreach ($log_entries as $entry) {
$data = $entry->toArray();
+ $data['message'] = nl2br(htmlspecialchars($data['message']));
$data['created_at'] = date_format($entry->created_at, 'd.m.Y H:i');
$entries[] = $data;
}