diff --git a/htdocs/user/param_ihm.php b/htdocs/user/param_ihm.php index b510800f754..395224478e8 100644 --- a/htdocs/user/param_ihm.php +++ b/htdocs/user/param_ihm.php @@ -185,9 +185,8 @@ if ($_GET["action"] == 'edit') print '
'; - // Theme - show_theme($fuser,empty($dolibarr_main_demo)?1:0,true); + show_theme($fuser,(($user->admin || empty($dolibarr_main_demo))?1:0),true); print '';