aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-06-01 15:42:13 -0700
committerfriendica <info@friendica.com>2012-06-01 15:42:13 -0700
commit0165d5dd2c8b12a71395cc881910974ddcbaf3fa (patch)
tree1f850dfb657ddf52a4bf7fe036f81a1d911cfb64 /mod
parent974935e9215bce903e5d458c8301fa1d50b3178d (diff)
downloadvolse-hubzilla-0165d5dd2c8b12a71395cc881910974ddcbaf3fa.tar.gz
volse-hubzilla-0165d5dd2c8b12a71395cc881910974ddcbaf3fa.tar.bz2
volse-hubzilla-0165d5dd2c8b12a71395cc881910974ddcbaf3fa.zip
registration issue after re-factor
Diffstat (limited to 'mod')
-rw-r--r--mod/register.php7
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']);