fix #8131 - chinese translations
[Pman.Core] / GroupMembers.php
index cbac46a..ce061d7 100644 (file)
@@ -15,7 +15,7 @@ class Pman_Core_GroupMembers extends Pman
         parent::getAuth(); // load company!
         $au = $this->getAuthUser();
         if (!$au) {
-            $this->jerr("Not authenticated", array('authFailure' => true));
+            $this->jerror("LOGIN-NOAUTH", "Not authenticated", array('authFailure' => true));
         }
         if ($au->company()->comptype != 'OWNER') {
             $this->jerr("Permission Denied" );
@@ -103,7 +103,7 @@ class Pman_Core_GroupMembers extends Pman
          
     }
     
-    function post()
+    function post($v)
     {
         if (empty($_POST['group_id']) || (int)$_POST['group_id'] < 1) {
             $this->jerr("NO GROUP");