From: Mike Cochrane Date: Sat, 12 Jul 2008 12:39:42 +0000 (-0400) Subject: Error I made merging a diff X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8ffe49b595de457a0e9329a274060e827734edba;p=quix0rs-gnu-social.git Error I made merging a diff darcs-hash:20080712123942-533db-21fa41076dd7b57935f49462423f247ccbb01e8f.gz --- diff --git a/actions/register.php b/actions/register.php index 37e787c9d0..aacc4fa7b4 100644 --- a/actions/register.php +++ b/actions/register.php @@ -63,7 +63,7 @@ class RegisterAction extends Action { $this->show_form(_('Email address already exists.')); } else if ($password != $confirm) { $this->show_form(_('Passwords don\'t match.')); - } else { + } else if ($this->register_user($nickname, $password, $email)) { $user = $this->register_user($nickname, $password, $email); if (!$user) { $this->show_form(_('Invalid username or password.'));