Commit a9cf38ab3b4676c93c3e0fa8b49c27b388998031

Authored by Elena.Budnik
1 parent fe5a16b4

return error for REST

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
php/WebServices/WSUserMgr.php
... ... @@ -14,7 +14,7 @@ class WSUserMgr extends UserMgr
14 14 if ($this->isSoap)
15 15 throw new SoapFault($errorType, $msg);
16 16 else
17   - return array("error" => $msg);
  17 + exit(json_encode(array("error" => $msg)));
18 18 }
19 19  
20 20 public function init($username, $password, $sessionID, $setPathOnly, $isSoap)
... ...