aboutsummaryrefslogtreecommitdiffstats
path: root/include
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 /include
parent974935e9215bce903e5d458c8301fa1d50b3178d (diff)
downloadvolse-hubzilla-0165d5dd2c8b12a71395cc881910974ddcbaf3fa.tar.gz
volse-hubzilla-0165d5dd2c8b12a71395cc881910974ddcbaf3fa.tar.bz2
volse-hubzilla-0165d5dd2c8b12a71395cc881910974ddcbaf3fa.zip
registration issue after re-factor
Diffstat (limited to 'include')
-rw-r--r--include/user.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/user.php b/include/user.php
index 75a91b096..af43a2b52 100644
--- a/include/user.php
+++ b/include/user.php
@@ -24,9 +24,11 @@ function create_user($arr) {
$email = ((x($arr,'email')) ? notags(trim($arr['email'])) : '');
$openid_url = ((x($arr,'openid_url')) ? notags(trim($arr['openid_url'])) : '');
$photo = ((x($arr,'photo')) ? notags(trim($arr['photo'])) : '');
- $publish = ((x($arr,'profile_publish_reg') && intval($arr['profile_publish_reg'])) ? 1 : 0);
$password = ((x($arr,'password')) ? trim($arr['password']) : '');
+ $blocked = ((x($arr,'blocked')) ? intval($arr['blocked']) : 0);
+ $verified = ((x($arr,'verified')) ? intval($arr['verified']) : 0);
+ $publish = ((x($arr,'profile_publish_reg') && intval($arr['profile_publish_reg'])) ? 1 : 0);
$netpublish = ((strlen(get_config('system','directory_submit_url'))) ? $publish : 0);
$tmp_str = $openid_url;