We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d43e18 commit a1e592cCopy full SHA for a1e592c
1 file changed
web/edit/server/index.php
@@ -174,6 +174,12 @@
174
$v_smtp_relay_user = '';
175
}
176
$v_smtp_relay_pass = '';
177
+if (empty($_POST['v_experimental_features'])){
178
+ $_POST['v_experimental_features'] = 'false';
179
+}
180
+if (empty($_POST['v_policy_user_view_suspended'])){
181
+ $_POST['v_policy_user_view_suspended'] = 'false';
182
183
184
// List Database hosts
185
exec(HESTIA_CMD."v-list-database-hosts json", $output, $return_var);
@@ -448,7 +454,7 @@
448
454
449
455
450
456
// Update experimental features status
451
- if (empty($_SESSION['error_msg'])) {
457
+ if (empty($_SESSION['error_msg']) && $_POST['v_experimental_features'] != $_SESSION['POLICY_SYSTEM_ENABLE_BACON']) {
452
458
if ($_POST['v_experimental_features'] == 'on') {
453
459
$_POST['v_experimental_features'] = 'true';
460
} else {
0 commit comments