Browse Source

Adding message to the error message

Julio Montoya 13 năm trước cách đây
mục cha
commit
d22f7879ad
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      main/webservices/registration.soap.php

+ 1 - 1
main/webservices/registration.soap.php

@@ -19,7 +19,7 @@ function return_error($code) {
     $fault = null;
     switch($code) {
         case WS_ERROR_SECRET_KEY:
-            $fault = new soap_fault('Server', '', 'Secret key is not correct');    
+            $fault = new soap_fault('Server', '', 'Secret key is not correct or params are not correctly set');    
         break;
     }
     return $fault;