diff --git a/actions/apiaccountregister.php b/actions/apiaccountregister.php index 1c0ebe5705..0d018007cd 100644 --- a/actions/apiaccountregister.php +++ b/actions/apiaccountregister.php @@ -171,7 +171,7 @@ class ApiAccountRegisterAction extends ApiAction $this->endDocument('json'); } catch (Exception $e) { - $this->clientError($e->getMessage()), 400); + $this->clientError($e->getMessage(), 400); } } }