diff options
author | Simon L'nu <simon.lnu@gmail.com> | 2012-06-01 23:13:24 -0400 |
---|---|---|
committer | Simon L'nu <simon.lnu@gmail.com> | 2012-06-01 23:13:24 -0400 |
commit | 8503a0e4cc4a5e01d8a30b4a827524d1bf313fc6 (patch) | |
tree | 1f850dfb657ddf52a4bf7fe036f81a1d911cfb64 /mod/register.php | |
parent | b1dacd6d838ecf75fe828279e57c2e7a866be22f (diff) | |
parent | 0165d5dd2c8b12a71395cc881910974ddcbaf3fa (diff) | |
download | volse-hubzilla-8503a0e4cc4a5e01d8a30b4a827524d1bf313fc6.tar.gz volse-hubzilla-8503a0e4cc4a5e01d8a30b4a827524d1bf313fc6.tar.bz2 volse-hubzilla-8503a0e4cc4a5e01d8a30b4a827524d1bf313fc6.zip |
Merge branch 'master', remote-tracking branch 'remotes/upstream/master'
* remotes/upstream/master:
registration issue after re-factor
install: fix bug #436 and small typo Function check_htaccess() don't perform check if curl is not installed. This was leading to wsod beacuse check_htaccess() uses fetch_url().
admin: remove update link in admin menu
* master:
Diffstat (limited to 'mod/register.php')
-rw-r--r-- | mod/register.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mod/register.php b/mod/register.php index b162f62be..d52b5a6e1 100644 --- a/mod/register.php +++ b/mod/register.php @@ -45,7 +45,12 @@ function register_post(&$a) { require_once('include/user.php'); - $result = create_user($_POST); + $arr = $_POST; + + $arr['blocked'] = $blocked; + $arr['verified'] = $verified; + + $result = create_user($arr); if(! $result['success']) { notice($result['message']); |