Adding message to the error message

skala
Julio Montoya 13 years ago
parent b27ab5c753
commit d22f7879ad
  1. 2
      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;

Loading…
Cancel
Save