From: Evan Prodromou Date: Tue, 2 Dec 2008 18:54:44 +0000 (-0500) Subject: whitespace in actions/register X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=de9ea671fcebb800285d94acbf49dd393a16cd21;p=quix0rs-gnu-social.git whitespace in actions/register darcs-hash:20081202185444-5ed1f-a84761dfb4ffb40d6e90c79d92dcd4b029745300.gz --- diff --git a/actions/register.php b/actions/register.php index 6acbde1bda..8ca6852837 100644 --- a/actions/register.php +++ b/actions/register.php @@ -62,12 +62,12 @@ class RegisterAction extends Action { if ($code) { $invite = Invitation::staticGet($code); } - + if (common_config('site', 'inviteonly') && !($code && $invite)) { $this->client_error(_('Sorry, only invited people can register.')); return; } - + # Input scrubbing $nickname = common_canonical_nickname($nickname); @@ -166,12 +166,12 @@ class RegisterAction extends Action { if ($code) { $invite = Invitation::staticGet($code); } - + if (common_config('site', 'inviteonly') && !($code && $invite)) { $this->client_error(_('Sorry, only invited people can register.')); return; } - + common_show_header(_('Register'), NULL, $error, array($this, 'show_top')); common_element_start('form', array('method' => 'post', 'id' => 'login',