fix #8131 - chinese translations
[Pman.Core] / NotifyAction.php
index 09d9a04..968eace 100644 (file)
@@ -16,7 +16,7 @@ class Pman_Core_NotifyAction extends Pman
     {
         $au = $this->getAuthUser();
         if (!$au) {
-             $this->jerr("Not authenticated", array('authFailure' => true));
+             $this->jerror("LOGIN-NOAUTH", "Not authenticated", array('authFailure' => true));
         }
         // workflow only applicable to owner company..
         if ($au->company()->comptype != 'OWNER') {
@@ -31,12 +31,12 @@ class Pman_Core_NotifyAction extends Pman
     }
     
     
-    function get()
+    function get($v, $opts=array())
     {
         $this->jerr("invalid request");
         
     }
-    function post()
+    function post($v)
     {
         // needs: (Array of...)
         //   on_table,