From 79442054260ec30854064a05bd5565f300cab40f Mon Sep 17 00:00:00 2001 From: Edward Date: Fri, 24 Jul 2015 17:58:36 +0800 Subject: [PATCH] EventView.php --- EventView.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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"); -- 2.39.2