EventView.php
authorEdward <edward@roojs.com>
Fri, 24 Jul 2015 10:01:06 +0000 (18:01 +0800)
committerEdward <edward@roojs.com>
Fri, 24 Jul 2015 10:01:06 +0000 (18:01 +0800)
EventView.php

index 08bc4f0..4d351c1 100644 (file)
@@ -80,7 +80,7 @@ class Pman_Admin_EventView extends Pman
         
         echo '<BR/><PRE>'. htmlspecialchars($ev->remarks) . '</PRE>';
         
-        $json = json_decode($ev->remarks, true);
+        $json = json_decode($ev->remarks, JSON_PRETTY_PRINT);
         
         if(json_last_error() == JSON_ERROR_NONE){
             echo "<HR><H2>JSON DECODE Data:</H2>";