aboutsummaryrefslogtreecommitdiff
path: root/actions/admin
diff options
context:
space:
mode:
Diffstat (limited to 'actions/admin')
-rw-r--r--actions/admin/site/update_basic.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/actions/admin/site/update_basic.php b/actions/admin/site/update_basic.php
index 564a3aa1c..a106a22f0 100644
--- a/actions/admin/site/update_basic.php
+++ b/actions/admin/site/update_basic.php
@@ -44,6 +44,12 @@
set_config('default_access', get_input('default_access'), $site->getGUID());
+ if (get_input('allow_user_default_access')) {
+ set_config('allow_user_default_access', 1, $site->getGUID());
+ } else {
+ set_config('allow_user_default_access', 0, $site->getGUID());
+ }
+
set_config('view', get_input('view'), $site->getGUID());
$debug = get_input('debug');