From: Alan Knowles Date: Wed, 17 Oct 2012 09:50:47 +0000 (+0800) Subject: EventView.php X-Git-Url: http://git.roojs.org/?p=Pman.Admin;a=commitdiff_plain;h=d901086045a5a0f29c207a7cef7388a8e52cdfdc EventView.php --- diff --git a/EventView.php b/EventView.php index 3cb1f4f..5738aa4 100644 --- a/EventView.php +++ b/EventView.php @@ -70,7 +70,7 @@ class Pman_Admin_EventView extends Pman echo "not available (missing file) $file"; exit; } - echo '
' . htmlspecialchars(print_r(json_decode(file_get_contents($file))) . '
'; + echo '
' . htmlspecialchars(print_r(json_decode(file_get_contents($file)), true)) . '
'; echo '
'. htmlspecialchars($ev->remarks) . '
';