aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-05-31 10:14:26 +0200
committerMario <mario@mariovavti.com>2021-05-31 10:14:26 +0200
commitbaabb3a8730708634385abdb366a45c6e234e154 (patch)
tree7060e11f11b4c97dc400f60a71d0cf9d6a4c99d6
parent5ee1c3f2c8590caa70ec34046ef5c75dacac3642 (diff)
downloadvolse-hubzilla-baabb3a8730708634385abdb366a45c6e234e154.tar.gz
volse-hubzilla-baabb3a8730708634385abdb366a45c6e234e154.tar.bz2
volse-hubzilla-baabb3a8730708634385abdb366a45c6e234e154.zip
fix admin button state not displayed correctly
-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',