diff --git a/core/groups/group_edit.php b/core/groups/group_edit.php index 4560d7274d..7d834222b2 100644 --- a/core/groups/group_edit.php +++ b/core/groups/group_edit.php @@ -66,7 +66,7 @@ $group_name_previous = $_POST["group_name_previous"]; $domain_uuid = $_POST["domain_uuid"]; $group_level = $_POST["group_level"] ?? '10'; - $group_protected = $_POST["group_protected"] ?? ''; + $group_protected = $_POST["group_protected"] ?? 'false'; $group_description = $_POST["group_description"] ?? ''; } @@ -300,10 +300,18 @@ echo " ".$text['label-group_protected']."\n"; echo "\n"; echo "\n"; - echo " \n"; + if (substr($_SESSION['theme']['input_toggle_style']['text'], 0, 6) == 'switch') { + echo " \n"; + } + else { + echo " \n"; + } echo "
\n"; //echo $text['description-group_protected']."\n"; echo "\n";