From: Alan Knowles Date: Tue, 9 Oct 2018 07:06:24 +0000 (+0800) Subject: EventView.php X-Git-Url: http://git.roojs.org/?p=Pman.Admin;a=commitdiff_plain;h=98fcd6c92e4d35aa346227e67c73e42a183ec1b3 EventView.php --- 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);