Explorar o código

Adding message to the error message

Julio Montoya %!s(int64=13) %!d(string=hai) anos
pai
achega
d22f7879ad
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;