From: Edward Date: Fri, 24 Jul 2015 09:58:18 +0000 (+0800) Subject: EventView.php X-Git-Url: http://git.roojs.org/?p=Pman.Admin;a=commitdiff_plain;h=2f58bb1eae60e9c22c0ecb80c55165557ea92699 EventView.php --- diff --git a/EventView.php b/EventView.php index a194e7f..9048c09 100644 --- a/EventView.php +++ b/EventView.php @@ -22,7 +22,7 @@ class Pman_Admin_EventView extends Pman { $test = json_decode('{"action":"test"}'); - print_R(JSON_ERROR_NONE);exit; + print_R(json_last_error());exit; $ev = DB_DataObject::Factory('Events'); if (!$ev->get((int)$id)) {