EventView.php
authorAlan Knowles <alan@roojs.com>
Wed, 17 Oct 2012 09:50:47 +0000 (17:50 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 17 Oct 2012 09:50:47 +0000 (17:50 +0800)
EventView.php

index 3cb1f4f..5738aa4 100644 (file)
@@ -70,7 +70,7 @@ class Pman_Admin_EventView extends Pman
             echo "not available (missing file) $file";
             exit;
         }
-        echo '<PRE>' . htmlspecialchars(print_r(json_decode(file_get_contents($file))) . '</PRE>';
+        echo '<PRE>' . htmlspecialchars(print_r(json_decode(file_get_contents($file)), true)) . '</PRE>';
         
         echo '<BR/><PRE>'. htmlspecialchars($ev->remarks) . '</PRE>';