From c10dc3bbb895f37bbd8dccbbde23dc64a9b05604 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 31 Aug 2011 22:33:36 +0000 Subject: [PATCH] Can edit style if admin even if demo --- htdocs/user/param_ihm.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/user/param_ihm.php b/htdocs/user/param_ihm.php index 395224478e8..b510800f754 100644 --- a/htdocs/user/param_ihm.php +++ b/htdocs/user/param_ihm.php @@ -185,8 +185,9 @@ if ($_GET["action"] == 'edit') print '
'; + // Theme - show_theme($fuser,(($user->admin || empty($dolibarr_main_demo))?1:0),true); + show_theme($fuser,empty($dolibarr_main_demo)?1:0,true); print '';