diff --git a/htdocs/core/lib/usergroups.lib.php b/htdocs/core/lib/usergroups.lib.php
index aafac090676..8eae1c18718 100644
--- a/htdocs/core/lib/usergroups.lib.php
+++ b/htdocs/core/lib/usergroups.lib.php
@@ -517,7 +517,7 @@ function showSkins($fuser, $edit = 0, $foruserprofile = false)
print '
'.$langs->trans("DarkThemeMode").' | ';
print '';
if ($edit) {
- print $form->selectarray('THEME_DARKMODEENABLED', $listofdarkmodes, getDolGlobalInt('THEME_DARKMODEENABLED'));
+ print $form->selectarray('THEME_DARKMODEENABLED', $listofdarkmodes, getDolGlobalInt('THEME_DARKMODEENABLED'), 0, 0, 0, '', 0, 0, 0, '', 'minwidth150 maxwidth250');
} else {
print $listofdarkmodes[getDolGlobalInt('THEME_DARKMODEENABLED')];
}
|