From 98fcd6c92e4d35aa346227e67c73e42a183ec1b3 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 9 Oct 2018 15:06:24 +0800 Subject: [PATCH] EventView.php --- EventView.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/EventView.php b/EventView.php index 761756e..af1300f 100644 --- a/EventView.php +++ b/EventView.php @@ -72,6 +72,9 @@ class Pman_Admin_EventView extends Pman } echo '
' . htmlspecialchars(print_r(json_decode(file_get_contents($file)), true)) . '
'; + if (!empty($ev->remarks)) { + echo "

Remarks:

"; + } echo '
'. htmlspecialchars($ev->remarks) . '
'; $json = json_decode($ev->remarks, JSON_PRETTY_PRINT); -- 2.39.2