diff --git a/htdocs/user/param_ihm.php b/htdocs/user/param_ihm.php index c7a1e8fea53..b510800f754 100644 --- a/htdocs/user/param_ihm.php +++ b/htdocs/user/param_ihm.php @@ -1,5 +1,5 @@ +/* Copyright (C) 2005-2011 Laurent Destailleur * Copyright (C) 2010 Regis Houssin * * This program is free software; you can redistribute it and/or modify @@ -235,7 +235,7 @@ else print ''; print '
'; - if (! empty($dolibarr_main_demo)) + if (empty($user->admin) && ! empty($dolibarr_main_demo)) { print "trans("FeatureDisabledInDemo")."\" href=\"#\">".$langs->trans("Modify").""; }