Skip to content
Snippets Groups Projects
Commit 77f177d8 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: Bad selection of option

parent a555b47a
No related branches found
No related tags found
No related merge requests found
......@@ -229,8 +229,9 @@ function show_theme($fuser,$edit=0,$foruserprofile=false)
$dirthemes=array_merge(array($forcethemedir.'/theme'),(array) $conf->modules_parts['themes']);
}
$selected_theme=$conf->global->MAIN_THEME;
if (! empty($fuser->conf->MAIN_THEME)) $selected_theme=$fuser->conf->MAIN_THEME;
$selected_theme='';
if (empty($foruserprofile)) $selected_theme=$conf->global->MAIN_THEME;
else $selected_theme=empty($fuser->conf->MAIN_THEME)?'':$fuser->conf->MAIN_THEME;
$colspan=2;
if ($foruserprofile) $colspan=4;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment