aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-05-31 10:14:26 +0200
committerMario <mario@mariovavti.com>2021-05-31 11:32:09 +0000
commit2980f852aa6420fd37f1410213abf75b7ba5604e (patch)
tree2f0276b337d3b407f7b957c0fc7ae379c2bbc6f5 /Zotlabs/Module
parent5e07ebe7fa7691869e3ab85dab0a27b3123d335c (diff)
downloadvolse-hubzilla-2980f852aa6420fd37f1410213abf75b7ba5604e.tar.gz
volse-hubzilla-2980f852aa6420fd37f1410213abf75b7ba5604e.tar.bz2
volse-hubzilla-2980f852aa6420fd37f1410213abf75b7ba5604e.zip
fix admin button state not displayed correctly
(cherry picked from commit baabb3a8730708634385abdb366a45c6e234e154)
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Admin/Site.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Admin/Site.php b/Zotlabs/Module/Admin/Site.php
index 3b2632411..76e117a84 100644
--- a/Zotlabs/Module/Admin/Site.php
+++ b/Zotlabs/Module/Admin/Site.php
@@ -480,12 +480,12 @@ class Site {
'$invitation_only' => [
'invitation_only',
t("Require invite code"),
- $invitation_only
+ get_config('system', 'invitation_only', 0)
],
'$invitation_also' => [
'invitation_also',
t("Allow invite code"),
- $invitation_also
+ get_config('system', 'invitation_also', 0)
],
'$verify_email' => [
'verify_email',