aboutsummaryrefslogtreecommitdiffstats
path: root/mod/register.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-02-05 13:32:15 -0800
committerredmatrix <git@macgirvin.com>2016-02-05 13:32:15 -0800
commit7868e476435b7d8d4530dea19686fdae04d5eb68 (patch)
treea85077184cc679e6048a33d571f22e4cce6a195a /mod/register.php
parentb4e3cd000f9919ce459d32e21e5ca121338a6c24 (diff)
downloadvolse-hubzilla-7868e476435b7d8d4530dea19686fdae04d5eb68.tar.gz
volse-hubzilla-7868e476435b7d8d4530dea19686fdae04d5eb68.tar.bz2
volse-hubzilla-7868e476435b7d8d4530dea19686fdae04d5eb68.zip
more uno groundwork
Diffstat (limited to 'mod/register.php')
-rw-r--r--mod/register.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/register.php b/mod/register.php
index 853728e10..63f09a9b8 100644
--- a/mod/register.php
+++ b/mod/register.php
@@ -227,8 +227,8 @@ function register_content(&$a) {
$nickname = ((x($_REQUEST,'nickname')) ? strip_tags(trim($_REQUEST['nickname'])) : "" );
$privacy_role = ((x($_REQUEST,'permissions_role')) ? $_REQUEST['permissions_role'] : "" );
- $auto_create = get_config('system','auto_channel_create');
- $default_role = get_config('system','default_permissions_role');
+ $auto_create = ((UNO) || (get_config('system','auto_channel_create')) ? true : false);
+ $default_role = ((UNO) ? 'social' : get_config('system','default_permissions_role'));
require_once('include/bbcode.php');