File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 174174 $ v_smtp_relay_user = '' ;
175175}
176176$ 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+ }
177183
178184// List Database hosts
179185exec (HESTIA_CMD ."v-list-database-hosts json " , $ output , $ return_var );
448454 }
449455
450456 // 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 ' ] ) {
452458 if ($ _POST ['v_experimental_features ' ] == 'on ' ) {
453459 $ _POST ['v_experimental_features ' ] = 'true ' ;
454460 } else {
You can’t perform that action at this time.
0 commit comments