EventView.php
authorEdward <edward@roojs.com>
Fri, 24 Jul 2015 09:58:10 +0000 (17:58 +0800)
committerEdward <edward@roojs.com>
Fri, 24 Jul 2015 09:58:10 +0000 (17:58 +0800)
EventView.php

index af83a13..a194e7f 100644 (file)
@@ -20,9 +20,9 @@ class Pman_Admin_EventView extends Pman
     
     function get($id)
     {
-//        $test = json_decode('{a}');
-//        
-//        print_R(JSON_ERROR_NONE);exit;
+        $test = json_decode('{"action":"test"}');
+        
+        print_R(JSON_ERROR_NONE);exit;
         
         $ev = DB_DataObject::Factory('Events');
         if (!$ev->get((int)$id)) {