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