projects
/
Pman.Admin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
60ac763
)
EventView.php
author
Edward
<edward@roojs.com>
Fri, 24 Jul 2015 10:00:28 +0000
(18:00 +0800)
committer
Edward
<edward@roojs.com>
Fri, 24 Jul 2015 10:00:28 +0000
(18:00 +0800)
EventView.php
patch
|
blob
|
history
diff --git
a/EventView.php
b/EventView.php
index
cc47a5a
..
08bc4f0
100644
(file)
--- a/
EventView.php
+++ b/
EventView.php
@@
-80,11
+80,11
@@
class Pman_Admin_EventView extends Pman
echo '<BR/><PRE>'. htmlspecialchars($ev->remarks) . '</PRE>';
echo '<BR/><PRE>'. htmlspecialchars($ev->remarks) . '</PRE>';
- $json = json_decode($ev->remarks);
+ $json = json_decode($ev->remarks
, true
);
if(json_last_error() == JSON_ERROR_NONE){
echo "<HR><H2>JSON DECODE Data:</H2>";
if(json_last_error() == JSON_ERROR_NONE){
echo "<HR><H2>JSON DECODE Data:</H2>";
- echo '<PRE>' . htmlspecialchars(print_r($json)
, true)
) . '</PRE>';
+ echo '<PRE>' . htmlspecialchars(print_r($json)) . '</PRE>';
}
$filesJ = json_decode(file_get_contents($file));
}
$filesJ = json_decode(file_get_contents($file));