Преглед изворни кода

Adding message to the error message

Julio Montoya пре 13 година
родитељ
комит
d22f7879ad
1 измењених фајлова са 1 додато и 1 уклоњено
  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;