From c0dd997960e2e313ccaf308ab9f7faf91df1fd67 Mon Sep 17 00:00:00 2001 From: Edward Date: Fri, 24 Jul 2015 18:01:06 +0800 Subject: [PATCH] EventView.php --- EventView.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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:

"; -- 2.39.2