From 19bf975e56fdb0699b3fd99959bd3efca1c7963d Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Sun, 1 Mar 2015 12:47:48 +0100 Subject: [PATCH] Aahhh, gotta run php -l before pushing stuff!!! --- actions/apiaccountregister.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } }