From: Edward Date: Fri, 24 Jul 2015 10:01:06 +0000 (+0800) Subject: EventView.php X-Git-Url: http://git.roojs.org/?p=Pman.Admin;a=commitdiff_plain;h=c0dd997960e2e313ccaf308ab9f7faf91df1fd67 EventView.php --- diff --git a/EventView.php b/EventView.php index 08bc4f0..4d351c1 100644 --- a/EventView.php +++ b/EventView.php @@ -80,7 +80,7 @@ class Pman_Admin_EventView extends Pman echo '
'. htmlspecialchars($ev->remarks) . '
'; - $json = json_decode($ev->remarks, true); + $json = json_decode($ev->remarks, JSON_PRETTY_PRINT); if(json_last_error() == JSON_ERROR_NONE){ echo "

JSON DECODE Data:

";