MessagePreview.php
authorAlan Knowles <alan@roojs.com>
Fri, 4 Aug 2017 02:27:52 +0000 (10:27 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 4 Aug 2017 02:27:52 +0000 (10:27 +0800)
MessagePreview.php

index acdd018..badc88b 100644 (file)
@@ -18,7 +18,7 @@ class Pman_Core_MessagePreview extends Pman
         return true;
     }
     
-    function get()
+    function get($v, $opts=array())
     {
         if(empty($_REQUEST['_id']) || empty($_REQUEST['_table'])){
             $this->jerr('Missing Options');
@@ -34,7 +34,7 @@ class Pman_Core_MessagePreview extends Pman
         
     }
     
-    function post()
+    function post($v)
     {
         if(empty($_REQUEST['_id']) || empty($_REQUEST['_table'])){
             $this->jerr('Missing Options');