From e8e507cbbbd78081f32cc320fce3631c91fb6395 Mon Sep 17 00:00:00 2001 From: Edward Date: Fri, 24 Jul 2015 18:00:28 +0800 Subject: [PATCH] EventView.php --- EventView.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/EventView.php b/EventView.php index cc47a5a..08bc4f0 100644 --- a/EventView.php +++ b/EventView.php @@ -80,11 +80,11 @@ class Pman_Admin_EventView extends Pman echo '
'. htmlspecialchars($ev->remarks) . '
'; - $json = json_decode($ev->remarks); + $json = json_decode($ev->remarks, true); if(json_last_error() == JSON_ERROR_NONE){ echo "

JSON DECODE Data:

"; - echo '
' . htmlspecialchars(print_r($json), true)) . '
'; + echo '
' . htmlspecialchars(print_r($json)) . '
'; } $filesJ = json_decode(file_get_contents($file)); -- 2.39.2