'homepage' => $homepage,
'bio' => $bio,
'location' => $location,
- 'code' => $this->code))) {
+ 'code' => $this->code));
Event::handle('EndRegistrationTry', array($this));
$this->initDocument('json');
$this->endDocument('json');
} catch (Exception $e) {
- $this->clientError($e->getMessage()), 400);
+ $this->clientError($e->getMessage(), 400);
}
}
}