1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-05 19:42:38 +02:00
This commit is contained in:
DanieL 2023-02-06 14:03:37 -03:00
parent 348ff00c14
commit 5fbdbfa475

View file

@ -53,7 +53,7 @@ class CustomizeUser extends PluginAbstract {
$obj->userCanNotChangeUserGroup = false;
$o = new stdClass();
$o->type = array_merge([0 => __("Default")], UserGroups::getAllUsersGroupsArray());
$o->type = array_merge(array('Default'), UserGroups::getAllUsersGroupsArray());
$o->value = 0;
$obj->userDefaultUserGroup = $o;
$obj->userMustBeLoggedIn = !isset($advancedCustom->userMustBeLoggedIn) ? false : $advancedCustom->userMustBeLoggedIn;