From: Edward Date: Fri, 24 Jul 2015 09:56:46 +0000 (+0800) Subject: EventView.php X-Git-Url: http://git.roojs.org/?p=Pman.Admin;a=commitdiff_plain;h=c037fb5808f1f10243ea1f4dbce1d15a435e8a0c EventView.php --- diff --git a/EventView.php b/EventView.php index 19beb38..b27e81c 100644 --- a/EventView.php +++ b/EventView.php @@ -22,7 +22,7 @@ class Pman_Admin_EventView extends Pman { $test = json_decode('afsdfasf'); - print_R(json_last_error() );exit; + print_R(JSON_ERROR_NONE);exit; $ev = DB_DataObject::Factory('Events'); if (!$ev->get((int)$id)) {