Ver código fonte

Adding message to the error message

Julio Montoya 13 anos atrás
pai
commit
d22f7879ad
1 arquivos alterados com 1 adições e 1 exclusões
  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;