aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/New_channel.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-01-18 10:26:13 +0100
committerMario <mario@mariovavti.com>2022-01-18 10:26:13 +0100
commit465c5c8cfb8f94abe9e226da0d534df5c090a229 (patch)
tree4f05f7d08c63873f1d43eb3ca52e28952ce71546 /Zotlabs/Module/New_channel.php
parentee28ba5be118bdd7f561230ef12fda6b4a9f6630 (diff)
downloadvolse-hubzilla-465c5c8cfb8f94abe9e226da0d534df5c090a229.tar.gz
volse-hubzilla-465c5c8cfb8f94abe9e226da0d534df5c090a229.tar.bz2
volse-hubzilla-465c5c8cfb8f94abe9e226da0d534df5c090a229.zip
make sure to use the correct default role
Diffstat (limited to 'Zotlabs/Module/New_channel.php')
-rw-r--r--Zotlabs/Module/New_channel.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/New_channel.php b/Zotlabs/Module/New_channel.php
index 5989e3da6..24dbe2944 100644
--- a/Zotlabs/Module/New_channel.php
+++ b/Zotlabs/Module/New_channel.php
@@ -138,7 +138,7 @@ class New_channel extends \Zotlabs\Web\Controller {
intval($aid)
);
if($r && (! intval($r[0]['total']))) {
- $default_role = get_config('system','default_permissions_role','social');
+ $default_role = get_config('system','default_permissions_role','personal');
}
$limit = account_service_class_fetch(get_account_id(),'total_identities');